Skip to content
Snippets Groups Projects
Commit 17da5f5d authored by Xavier CORBILLON's avatar Xavier CORBILLON
Browse files

Modification de stub.c pour pouvoir être compilé sous Ubuntu

parent c1db2453
No related branches found
No related tags found
No related merge requests found
......@@ -89,14 +89,16 @@ caddr_t _sbrk(int incr)
if( heap_end + incr > stack_ptr)
{
write(1, "Heap and stack collision\n", 25);
abort();
// abort();
}
heap_end += incr;
return (caddr_t)prev_heap_end;
}
int _times(struct tms* buf)
typedef struct tms tms;
int _times(tms* buf)
{
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment