From: Guido van Rossum Date: Sun, 11 Jan 1998 18:02:19 +0000 (+0000) Subject: As Jeff painfully found out, malloc(0) returns NULL on OS/2. X-Git-Tag: v1.5.1~998 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eea714aed41aa36b4564d8e06739f8361c0e04b1;p=thirdparty%2FPython%2Fcpython.git As Jeff painfully found out, malloc(0) returns NULL on OS/2. --- diff --git a/PC/os2vacpp/config.h b/PC/os2vacpp/config.h index ad7626bb1bf5..373d0099c5b8 100644 --- a/PC/os2vacpp/config.h +++ b/PC/os2vacpp/config.h @@ -556,7 +556,10 @@ #define HAVE_STDARG_H 1 /* Define if you have the prototypes. */ -#define HAVE_STDARG_PROTOTYPES +#define HAVE_STDARG_PROTOTYPES 1 + +/* Define if malloc(0) returns a NULL pointer */ +#define MALLOC_ZERO_RETURNS_NULL 1 /* Define if you have the header file. */ #define HAVE_STDLIB_H 1