From 20d6adfd5baf5b27d77ecfdfa6f0877c318a309a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 4 Jul 2009 21:54:01 +0000 Subject: Use "__extension__ extern __inline__" for DMNSN_INLINE in GNU C. --- libdimension/inlines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdimension/inlines.c') diff --git a/libdimension/inlines.c b/libdimension/inlines.c index a03d08f..e7d4c74 100644 --- a/libdimension/inlines.c +++ b/libdimension/inlines.c @@ -26,7 +26,7 @@ #define DMNSN_INLINE #elif defined(__GNUC__) /* GCC inline semantics */ - #define DMNSN_INLINE inline + #define DMNSN_INLINE __inline__ #else /* Unknown C - mark functions static and hope the compiler is smart enough to inline them */ -- cgit v1.2.3