4 Commits

Author SHA1 Message Date
Godzil
06665f4624 Change sbrk definitions.
The prototypes difference between platform is really annoying, since it's hard to always match the system on, and prevent warning on bad types. I try now to always use BRK emulation on all platform that do not match the prototype used in ACK. the PM script should be changed to set this correctly during setup.
2015-06-24 23:41:49 +01:00
Manoel Trapier
5f00cd2e53 Make a brk/sbrk emulation.
Mac OS X seems to have some difficulties with brk/sbrk (maybe with the
4MB heap limit), and replace all the allocation logic will be prone to
errors, I'll add a new define and lib to emulate brk/sbrk using more
standard allocation methods. By default the heap is 64MB, it should be
enough.
2015-06-24 23:41:49 +01:00
Manoel Trapier
60b5f91561 More incoherency between MacOSX and Linux... 2015-06-24 23:41:47 +01:00
Manoel Trapier
a262a916dc Being a bit more strict on warnings (-Wall). 2015-06-24 23:41:46 +01:00