From eea714aed41aa36b4564d8e06739f8361c0e04b1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 11 Jan 1998 18:02:19 +0000 Subject: [PATCH] As Jeff painfully found out, malloc(0) returns NULL on OS/2. --- PC/os2vacpp/config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PC/os2vacpp/config.h b/PC/os2vacpp/config.h index ad7626bb1bf..373d0099c5b 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