[project @ 2005-09-19 23:24:31 by ross]
authorross <unknown>
Mon, 19 Sep 2005 23:24:31 +0000 (23:24 +0000)
committerross <unknown>
Mon, 19 Sep 2005 23:24:31 +0000 (23:24 +0000)
For compilers other than MSVC and GCC, assume inline has the C99 semantics.

include/HsBase.h

index ba3b40a..935da37 100644 (file)
@@ -210,10 +210,10 @@ StgWord64 stg_integerToWord64 (StgInt sa, StgByteArray /* Really: mp_limb_t* */
 #ifndef INLINE
 # if defined(_MSC_VER)
 #  define INLINE extern __inline
-# elif defined(__HUGS__)
-#  define INLINE INLINE_ONLY
-# else
+# elif defined(__GNUC__)
 #  define INLINE extern inline
+# else
+#  define INLINE inline
 # endif
 #endif