comparison src/config.h.in @ 3493:cb20b201d5e6

[xemacs-hg @ 2006-07-07 19:51:13 by aidan] Small bug in the INLINE_HEADER macro.
author aidan
date Fri, 07 Jul 2006 19:51:15 +0000
parents 15fb91e3a115
children 6d4dc9ec7240
comparison
equal deleted inserted replaced
3492:d7af9dc028f0 3493:cb20b201d5e6
1064 1064
1065 /* Use `INLINE_HEADER' to define inline functions in .h files. 1065 /* Use `INLINE_HEADER' to define inline functions in .h files.
1066 Use `inline static' to define inline functions in .c files. 1066 Use `inline static' to define inline functions in .c files.
1067 See the Internals manual for examples and more information. */ 1067 See the Internals manual for examples and more information. */
1068 1068
1069 #if defined (__cplusplus) || ! defined (__GNUC__) 1069 #if defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs)
1070 # define INLINE_HEADER inline static 1070 # define INLINE_HEADER inline static
1071 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) 1071 #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS)
1072 # define INLINE_HEADER inline 1072 # define INLINE_HEADER inline
1073 #else 1073 #else
1074 # define INLINE_HEADER inline extern 1074 # define INLINE_HEADER inline extern