diff options
author | Guido van Rossum <guido@python.org> | 1997-07-10 22:43:05 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-10 22:43:05 (GMT) |
commit | 443389fd2e94d43f9029510829f85267cc968577 (patch) | |
tree | e34d51a88072dbea59f019e797551c87c1f0464e | |
parent | ad7137027916b3c2ec409eeb0eaf99af921dccf4 (diff) | |
download | cpython-443389fd2e94d43f9029510829f85267cc968577.zip cpython-443389fd2e94d43f9029510829f85267cc968577.tar.gz cpython-443389fd2e94d43f9029510829f85267cc968577.tar.bz2 |
Add MALLOC_ZERO_RETURNS_NULL symbol.
-rw-r--r-- | acconfig.h | 3 | ||||
-rw-r--r-- | config.h.in | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -35,6 +35,9 @@ (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ #undef HAVE_STDARG_PROTOTYPES +/* Define if malloc(0) returns a NULL pointer */ +#undef MALLOC_ZERO_RETURNS_NULL + /* Define if you have POSIX threads */ #undef _POSIX_THREADS diff --git a/config.h.in b/config.h.in index 40d3608..adae370 100644 --- a/config.h.in +++ b/config.h.in @@ -96,6 +96,9 @@ (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */ #undef HAVE_STDARG_PROTOTYPES +/* Define if malloc(0) returns a NULL pointer */ +#undef MALLOC_ZERO_RETURNS_NULL + /* Define if you have POSIX threads */ #undef _POSIX_THREADS |