Mercurial > emacs
comparison src/gmalloc.c @ 40670:8cb4d744ae0d
Test BROKEN_PROTOTYPES.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 03 Nov 2001 15:08:36 +0000 |
| parents | 46942d9e7537 |
| children | 23a1cea22d13 |
comparison
equal
deleted
inserted
replaced
| 40669:686c91f02b2c | 40670:8cb4d744ae0d |
|---|---|
| 34 | 34 |
| 35 #ifdef HAVE_CONFIG_H | 35 #ifdef HAVE_CONFIG_H |
| 36 #include <config.h> | 36 #include <config.h> |
| 37 #endif | 37 #endif |
| 38 | 38 |
| 39 #if defined __cplusplus || (defined (__STDC__) && __STDC__) || \ | 39 #if ((defined __cplusplus || (defined (__STDC__) && __STDC__) \ |
| 40 defined STDC_HEADERS || defined PROTOTYPES | 40 || defined STDC_HEADERS || defined PROTOTYPES) \ |
| 41 && ! defined (BROKEN_PROTOTYPES)) | |
| 41 #undef PP | 42 #undef PP |
| 42 #define PP(args) args | 43 #define PP(args) args |
| 43 #undef __ptr_t | 44 #undef __ptr_t |
| 44 #define __ptr_t void * | 45 #define __ptr_t void * |
| 45 #else /* Not C++ or ANSI C. */ | 46 #else /* Not C++ or ANSI C. */ |
