summaryrefslogtreecommitdiffstats
path: root/libdimension/inlines.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-04 21:54:01 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-04 21:54:01 +0000
commit20d6adfd5baf5b27d77ecfdfa6f0877c318a309a (patch)
tree2988917655683ae3548d38f17acbaef193f983a3 /libdimension/inlines.c
parent8085395acc28d8c77901615f8862ceeda5773b09 (diff)
downloaddimension-20d6adfd5baf5b27d77ecfdfa6f0877c318a309a.tar.xz
Use "__extension__ extern __inline__" for DMNSN_INLINE in GNU C.
Diffstat (limited to 'libdimension/inlines.c')
-rw-r--r--libdimension/inlines.c2
1 files changed, 1 insertions, 1 deletions
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 */