dholland
|
f8d6aa2c68
|
Many C libraries don't set errno when malloc fails, so always use
strerror(ENOMEM).
|
2010-12-25 20:35:25 +00:00 |
|
dsl
|
b294f6c2a3
|
Fix sense of MAKE_NATICE test.
|
2009-01-24 23:19:50 +00:00 |
|
dsl
|
4802ea584f
|
Add #ifndef MAKE_NATIVE around __RCSID
|
2009-01-24 23:07:48 +00:00 |
|
dsl
|
97347d2cbb
|
Fixes to includes of make_malloc.h to that it actually builds when
USE_EMALLOC is undefined.
Fixes earlier fixes :-)
|
2009-01-24 14:43:28 +00:00 |
|
cegger
|
9fde1a673e
|
buildfixes for OSX:
- include <sys/types> for size_t
- progname is undeclared
- include <string.h> for string functions like strlen()
- include <errno.h> for errno
|
2009-01-24 13:06:16 +00:00 |
|
dsl
|
4fb693c12c
|
Move the bmake_malloc() functions into their own .c and .h files.
Include instead of make.h in a few places.
|
2009-01-24 11:59:39 +00:00 |
|