summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-01-11 18:02:19 (GMT)
committerGuido van Rossum <guido@python.org>1998-01-11 18:02:19 (GMT)
commiteea714aed41aa36b4564d8e06739f8361c0e04b1 (patch)
tree13d7142c67b44202a55db05cff607bbe3041907d /PC
parent0cf785a7a720f5d45118d6f0591abcdb973cb7aa (diff)
downloadcpython-eea714aed41aa36b4564d8e06739f8361c0e04b1.zip
cpython-eea714aed41aa36b4564d8e06739f8361c0e04b1.tar.gz
cpython-eea714aed41aa36b4564d8e06739f8361c0e04b1.tar.bz2
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 ad7626b..373d009 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