From fd21ca02e14685bdbb5c247202dc538f8c20a729 Mon Sep 17 00:00:00 2001 From: ross Date: Mon, 19 Sep 2005 23:24:31 +0000 Subject: [PATCH] [project @ 2005-09-19 23:24:31 by ross] For compilers other than MSVC and GCC, assume inline has the C99 semantics. --- include/HsBase.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 1.7.10.4