From: ross Date: Mon, 19 Sep 2005 23:24:31 +0000 (+0000) Subject: [project @ 2005-09-19 23:24:31 by ross] X-Git-Tag: cmm-merge2~25 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=fd21ca02e14685bdbb5c247202dc538f8c20a729;p=ghc-base.git [project @ 2005-09-19 23:24:31 by ross] For compilers other than MSVC and GCC, assume inline has the C99 semantics. --- diff --git a/include/HsBase.h b/include/HsBase.h index ba3b40a..935da37 100644 --- a/include/HsBase.h +++ b/include/HsBase.h @@ -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