Mercurial > hg > xemacs-beta
comparison src/config.h.in @ 4387:9aa16aa434b6
Adapt INLINE_HEADER to the C99 inline semantics.
2008-01-08 Jerry James <james@xemacs.org>
* config.h.in (INLINE_HEADER): adapt to C99 inline semantics.
author | Jerry James <james@xemacs.org> |
---|---|
date | Tue, 08 Jan 2008 12:47:42 -0700 |
parents | dfd878799ef0 |
children | 4c5cd87620e4 |
comparison
equal
deleted
inserted
replaced
4386:4363b75330ca | 4387:9aa16aa434b6 |
---|---|
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 defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs) | 1089 #if __STDC_VERSION__ >= 199901L || defined (__cplusplus) || \ |
1090 ! defined (__GNUC__) || ! defined(emacs) | |
1090 # define INLINE_HEADER inline static | 1091 # define INLINE_HEADER inline static |
1091 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) | 1092 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) |
1092 # define INLINE_HEADER inline | 1093 # define INLINE_HEADER inline |
1093 #else | 1094 #else |
1094 # define INLINE_HEADER inline extern | 1095 # define INLINE_HEADER inline extern |