changeset 108:0921c47b4f22

C99INLINE, not __c99inline
author David A. Holland
date Tue, 11 Jun 2013 12:17:27 -0400
parents 33954a07d013
children 4483a14ee101
files array.h inlinedefs.h
diffstat 2 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/array.h	Tue Jun 11 12:15:47 2013 -0400
+++ b/array.h	Tue Jun 11 12:17:27 2013 -0400
@@ -43,7 +43,7 @@
 #endif
 
 #ifndef ARRAYINLINE
-#define ARRAYINLINE __c99inline
+#define ARRAYINLINE C99INLINE
 #endif
 
 ////////////////////////////////////////////////////////////
--- a/inlinedefs.h	Tue Jun 11 12:15:47 2013 -0400
+++ b/inlinedefs.h	Tue Jun 11 12:17:27 2013 -0400
@@ -27,17 +27,13 @@
  * SUCH DAMAGE.
  */
 
-#ifndef __c99inline
-
 #if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
 /* gcc's non-C99 inline semantics */
-#define __c99inline extern inline
+#define C99INLINE extern inline
 #elif defined(__STDC__) && __STDC_VERSION__ >= 199901L
 /* C99 */
-#define __c99inline inline
+#define C99INLINE inline
 #else
 /* something else; static inline is safest */
-#define __c99inline static inline
+#define C99INLINE static inline
 #endif
-
-#endif