summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/dimension.h2
-rw-r--r--libdimension/inlines.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension.h b/libdimension/dimension.h
index 1745f97..4d67ce0 100644
--- a/libdimension/dimension.h
+++ b/libdimension/dimension.h
@@ -38,7 +38,7 @@
#define DMNSN_INLINE inline
#elif defined(__GNUC__)
/* GCC inline semantics */
- #define DMNSN_INLINE extern inline
+ #define DMNSN_INLINE __extension__ extern __inline__
#else
/* Unknown C - mark functions static and hope the compiler is smart enough
to inline them */
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 */