User: aidan
Date: 06/07/07 21:51:18
Modified: xemacs/src ChangeLog config.h.in
Log:
Small bug in the INLINE_HEADER macro.
Revision Changes Path
1.983 +7 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.982
retrieving revision 1.983
diff -u -p -r1.982 -r1.983
--- ChangeLog 2006/07/02 07:32:19 1.982
+++ ChangeLog 2006/07/07 19:51:13 1.983
@@ -1,3 +1,10 @@
+2006-07-07 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * 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 <stephen(a)xemacs.org>
* gc.c (gc_mark_root_set): Quiet GCC 4 whining about unused values.
1.109 +1 -1 XEmacs/xemacs/src/config.h.in
Index: config.h.in
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/config.h.in,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -p -r1.108 -r1.109
--- config.h.in 2006/04/23 16:11:32 1.108
+++ config.h.in 2006/07/07 19:51:15 1.109
@@ -1066,7 +1066,7 @@ extern "C" {
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
Show replies by date