Mercurial > ~dholland > hg > tradcpp > index.cgi
changeset 31:39901e11b1aa
inlinedefs is a hack, so hack it up
author | David A. Holland |
---|---|
date | Mon, 20 Dec 2010 06:54:59 -0500 |
parents | 76c114899f63 |
children | b81ddd969691 |
files | inlinedefs.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/inlinedefs.h Mon Dec 20 06:53:32 2010 -0500 +++ b/inlinedefs.h Mon Dec 20 06:54:59 2010 -0500 @@ -27,6 +27,8 @@ * SUCH DAMAGE. */ +#ifndef __c99inline + #if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) /* gcc's non-C99 inline semantics */ #define __c99inline extern inline @@ -38,3 +40,4 @@ #define __c99inline static inline #endif +#endif