diff options
author | Guido van Rossum <guido@python.org> | 1998-01-11 18:02:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-01-11 18:02:19 (GMT) |
commit | eea714aed41aa36b4564d8e06739f8361c0e04b1 (patch) | |
tree | 13d7142c67b44202a55db05cff607bbe3041907d /PC | |
parent | 0cf785a7a720f5d45118d6f0591abcdb973cb7aa (diff) | |
download | cpython-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.h | 5 |
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 |