commit: Adapt INLINE_HEADER to the C99 inline semantics.

Jerry James jjames-guest at alioth.debian.org
Tue Jan 8 14:49:13 EST 2008


changeset:   4387:9aa16aa434b6c7378354c60985dc2218ceb60db0
tag:         tip
user:        Jerry James <james at xemacs.org>
date:        Tue Jan 08 12:47:42 2008 -0700
files:       src/ChangeLog src/config.h.in
description:
Adapt INLINE_HEADER to the C99 inline semantics.

2008-01-08  Jerry James  <james at xemacs.org>

	* config.h.in (INLINE_HEADER): adapt to C99 inline semantics.


diff -r 4363b75330cacd4d74c95aa361d90a967a58f0fe -r 9aa16aa434b6c7378354c60985dc2218ceb60db0 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-07  Jerry James  <james at xemacs.o
+2008-01-08  Jerry James  <james at xemacs.org>
+
+	* config.h.in (INLINE_HEADER): adapt to C99 inline semantics.
+
 2008-01-07  Jerry James  <james at xemacs.org>
 
 	* xemacs.def.in.in: Clarify the copyright and license.
diff -r 4363b75330cacd4d74c95aa361d90a967a58f0fe -r 9aa16aa434b6c7378354c60985dc2218ceb60db0 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 @@ 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__) || ! 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




More information about the XEmacs-Patches mailing list