summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-01-11 18:02:19 +0000
committerGuido van Rossum <guido@python.org>1998-01-11 18:02:19 +0000
commit33a67f17ddc4d2a3b545213b2d683d51bf1e229f (patch)
treee0afdf706514ba39163f8a30391226e8551cde79 /PC
parentee03460a2c70508f46cb8d81df9d15884358d3d9 (diff)
downloadcpython-33a67f17ddc4d2a3b545213b2d683d51bf1e229f.tar.gz
As Jeff painfully found out, malloc(0) returns NULL on OS/2.
Diffstat (limited to 'PC')
-rw-r--r--PC/os2vacpp/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/PC/os2vacpp/config.h b/PC/os2vacpp/config.h
index ad7626bb1b..373d0099c5 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 <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