Use static inline rather than extern inline/inline
[haskell-directory.git] / include / HsBase.h
index fe8c0cd..161cf9d 100644 (file)
@@ -226,10 +226,8 @@ StgWord64 stg_integerToWord64 (StgInt sa, StgByteArray /* Really: mp_limb_t* */
 #ifndef INLINE
 # if defined(_MSC_VER)
 #  define INLINE extern __inline
-# elif defined(__GNUC__)
-#  define INLINE extern inline
 # else
-#  define INLINE inline
+#  define INLINE static inline
 # endif
 #endif