# HG changeset patch # User aidan # Date 1152301875 0 # Node ID cb20b201d5e66c8f6744d11e2767bc1ca027471a # Parent d7af9dc028f000b0f6e52fcfbddebba699040168 [xemacs-hg @ 2006-07-07 19:51:13 by aidan] Small bug in the INLINE_HEADER macro. diff -r d7af9dc028f0 -r cb20b201d5e6 src/ChangeLog --- a/src/ChangeLog Thu Jul 06 21:51:03 2006 +0000 +++ b/src/ChangeLog Fri Jul 07 19:51:15 2006 +0000 @@ -1,3 +1,10 @@ +2006-07-07 Aidan Kehoe + + * config.h.in: + Don't declare inline macros as `extern' if we're building a + standalone program, because their extern definitions in inline.c + are unlikely to be included. + 2006-06-24 Stephen J. Turnbull * gc.c (gc_mark_root_set): Quiet GCC 4 whining about unused values. diff -r d7af9dc028f0 -r cb20b201d5e6 src/config.h.in --- a/src/config.h.in Thu Jul 06 21:51:03 2006 +0000 +++ b/src/config.h.in Fri Jul 07 19:51:15 2006 +0000 @@ -1066,7 +1066,7 @@ Use `inline static' to define inline functions in .c files. See the Internals manual for examples and more information. */ -#if defined (__cplusplus) || ! defined (__GNUC__) +#if defined (__cplusplus) || ! defined (__GNUC__) || ! defined(emacs) # define INLINE_HEADER inline static #elif defined (DONT_EXTERN_INLINE_HEADER_FUNCTIONS) # define INLINE_HEADER inline