# HG changeset patch # User Jerry James # Date 1199821662 25200 # Node ID 9aa16aa434b6c7378354c60985dc2218ceb60db0 # Parent 4363b75330cacd4d74c95aa361d90a967a58f0fe Adapt INLINE_HEADER to the C99 inline semantics. 2008-01-08 Jerry James * config.h.in (INLINE_HEADER): adapt to C99 inline semantics. diff -r 4363b75330ca -r 9aa16aa434b6 src/ChangeLog --- a/src/ChangeLog Mon Jan 07 12:07:55 2008 -0700 +++ b/src/ChangeLog Tue Jan 08 12:47:42 2008 -0700 @@ -1,3 +1,7 @@ +2008-01-08 Jerry James + + * config.h.in (INLINE_HEADER): adapt to C99 inline semantics. + 2008-01-07 Jerry James * xemacs.def.in.in: Clarify the copyright and license. diff -r 4363b75330ca -r 9aa16aa434b6 src/config.h.in --- a/src/config.h.in Mon Jan 07 12:07:55 2008 -0700 +++ b/src/config.h.in Tue Jan 08 12:47:42 2008 -0700 @@ -1086,7 +1086,8 @@ Use `inline static' to define inline functions in .c files. See the Internals manual for examples and more information. */ -#if defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs) +#if __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