From: Richard M. Stallman Date: Sun, 4 Nov 2001 17:35:52 +0000 (+0000) Subject: Test BROKEN_PROTOTYPES. X-Git-Tag: emacs-21.2~359 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a9726650bba1cc13414ee8015ca77e5f30e6934;p=emacs.git Test BROKEN_PROTOTYPES. --- 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