changeset 29837:f9aeac6780a1

(PP): Test PROTOTYPES as well as __STDC__ &c.
author Dave Love <fx@gnu.org>
date Wed, 21 Jun 2000 16:07:32 +0000
parents f3aaf610f8a9
children 0544e6edf4ff
files src/gmalloc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gmalloc.c	Wed Jun 21 14:57:11 2000 +0000
+++ b/src/gmalloc.c	Wed Jun 21 16:07:32 2000 +0000
@@ -36,7 +36,8 @@
 #include <config.h>
 #endif
 
-#if defined __cplusplus || (defined (__STDC__) && __STDC__) || defined STDC_HEADERS
+#if defined __cplusplus || (defined (__STDC__) && __STDC__) || \
+  defined STDC_HEADERS || defined PROTOTYPES
 #undef	PP
 #define	PP(args)	args
 #undef	__ptr_t