Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/config.h.in Wed Jan 09 00:28:17 2008 +0100 +++ b/src/config.h.in Wed Jan 09 00:53:02 2008 +0100 @@ -1086,8 +1086,8 @@ Use `inline static' to define inline functions in .c files. See the Internals manual for examples and more information. */ -#if __STDC_VERSION__ >= 199901L || defined (__cplusplus) || \ - ! defined (__GNUC__) || ! defined(emacs) +#if (defined ( __STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ + || defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs) # define INLINE_HEADER inline static #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) # define INLINE_HEADER inline