Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 4389:4c5cd87620e4
Check that __STDC_VERSION__ is defined before examining it.
2008-01-09 Aidan Kehoe <kehoea@parhasard.net>
* config.h.in:
Check that __STDC_VERSION__ is defined before examining its
value. Eliminates a Cygwin warning.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 09 Jan 2008 00:53:02 +0100 |
parents | 9aa16aa434b6 |
children | fd8a9a4d81d9 |
comparison
equal
deleted
inserted
replaced
4388:1a14c304cb8e | 4389:4c5cd87620e4 |
---|---|
1084 | 1084 |
1085 /* Use `INLINE_HEADER' to define inline functions in .h files. | 1085 /* Use `INLINE_HEADER' to define inline functions in .h files. |
1086 Use `inline static' to define inline functions in .c files. | 1086 Use `inline static' to define inline functions in .c files. |
1087 See the Internals manual for examples and more information. */ | 1087 See the Internals manual for examples and more information. */ |
1088 | 1088 |
1089 #if __STDC_VERSION__ >= 199901L || defined (__cplusplus) || \ | 1089 #if (defined ( __STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ |
1090 ! defined (__GNUC__) || ! defined(emacs) | 1090 || defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs) |
1091 # define INLINE_HEADER inline static | 1091 # define INLINE_HEADER inline static |
1092 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) | 1092 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) |
1093 # define INLINE_HEADER inline | 1093 # define INLINE_HEADER inline |
1094 #else | 1094 #else |
1095 # define INLINE_HEADER inline extern | 1095 # define INLINE_HEADER inline extern |