From: ross Date: Thu, 5 Feb 2004 11:45:59 +0000 (+0000) Subject: [project @ 2004-02-05 11:45:59 by ross] X-Git-Tag: nhc98-1-18-release~394 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5cab28a3cf5872fc3e2755a5c0a49fad236fdcd8;p=ghc-base.git [project @ 2004-02-05 11:45:59 by ross] Hugs only: use the configure-set variable INLINE_ONLY instead of `extern inline' (which works for gcc but not C99 compilers). --- diff --git a/include/HsBase.h b/include/HsBase.h index e3a8120..6c68618 100644 --- a/include/HsBase.h +++ b/include/HsBase.h @@ -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