]> granicus.if.org Git - python/commitdiff
As Jeff painfully found out, malloc(0) returns NULL on OS/2.
authorGuido van Rossum <guido@python.org>
Sun, 11 Jan 1998 18:02:19 +0000 (18:02 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 11 Jan 1998 18:02:19 +0000 (18:02 +0000)
PC/os2vacpp/config.h

index ad7626bb1bf5c8755ffb0215d51a24dc4294a610..373d0099c5b8a67e5a7f30cc94d2bc8fbd5a81ee 100644 (file)
 #define HAVE_STDARG_H 1
 
 /* Define if you have the <stdarg.h> 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 <stdlib.h> header file.  */
 #define HAVE_STDLIB_H 1