[project @ 2004-02-05 11:45:59 by ross]
authorross <unknown>
Thu, 5 Feb 2004 11:45:59 +0000 (11:45 +0000)
committerross <unknown>
Thu, 5 Feb 2004 11:45:59 +0000 (11:45 +0000)
Hugs only: use the configure-set variable INLINE_ONLY instead of
`extern inline' (which works for gcc but not C99 compilers).

include/HsBase.h

index e3a8120..6c68618 100644 (file)
@@ -198,6 +198,8 @@ 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
 #  define INLINE extern inline
 # endif