From 0a9726650bba1cc13414ee8015ca77e5f30e6934 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 4 Nov 2001 17:35:52 +0000 Subject: [PATCH] Test BROKEN_PROTOTYPES. --- src/ChangeLog | 8 ++++++++ src/gmalloc.c | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 80136fe8580..c3c6ba65479 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2001-11-04 Richard M. Stallman + + * gmalloc.c: Test BROKEN_PROTOTYPES. + + * xfns.c: Include unistd.h, if it exists. + + * editfns.c: Move the include of ctype.h after unistd.h. + 2001-11-03 Richard M. Stallman * data.c (Fmake_local_variable): Doc fix. diff --git a/src/gmalloc.c b/src/gmalloc.c index 598d802badc..77fb3197101 100644 --- a/src/gmalloc.c +++ b/src/gmalloc.c @@ -36,8 +36,9 @@ Cambridge, MA 02139, USA. #include #endif -#if defined __cplusplus || (defined (__STDC__) && __STDC__) || \ - defined STDC_HEADERS || defined PROTOTYPES +#if ((defined __cplusplus || (defined (__STDC__) && __STDC__) \ + || defined STDC_HEADERS || defined PROTOTYPES) \ + && ! defined (BROKEN_PROTOTYPES)) #undef PP #define PP(args) args #undef __ptr_t -- 2.39.2