Mercurial > ~dholland > hg > tradcpp > index.cgi
diff inlinedefs.h @ 108:0921c47b4f22
C99INLINE, not __c99inline
author | David A. Holland |
---|---|
date | Tue, 11 Jun 2013 12:17:27 -0400 |
parents | 39901e11b1aa |
children |
line wrap: on
line diff
--- 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