aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmalloc.c
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-06-21 16:07:32 +0000
committerDave Love <[email protected]>2000-06-21 16:07:32 +0000
commit9e67b01b56bf0e2d051344760fce5651441a5faa (patch)
tree303efad9cb301bdca473593caf6e3dea5b34632f /src/gmalloc.c
parent3ee5041cf5cc5db6a870d0e624ced221665c4e0c (diff)
(PP): Test PROTOTYPES as well as __STDC__ &c.
Diffstat (limited to 'src/gmalloc.c')
-rw-r--r--src/gmalloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 9bf84235ee..e05b758b76 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -36,7 +36,8 @@ Cambridge, MA 02139, USA.
#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