From: Guido van Rossum Date: Thu, 10 Jul 1997 22:43:05 +0000 (+0000) Subject: Add MALLOC_ZERO_RETURNS_NULL symbol. X-Git-Tag: v1.5a3~316 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=443389fd2e94d43f9029510829f85267cc968577;p=python Add MALLOC_ZERO_RETURNS_NULL symbol. --- diff --git a/acconfig.h b/acconfig.h index 14bf222a61..18d4a2b518 100644 --- a/acconfig.h +++ b/acconfig.h @@ -35,6 +35,9 @@ (e.g. void fprintf(FILE *, char *, ...);) *and* */ #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 40d3608324..adae370347 100644 --- a/config.h.in +++ b/config.h.in @@ -96,6 +96,9 @@ (e.g. void fprintf(FILE *, char *, ...);) *and* */ #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