From 5cab28a3cf5872fc3e2755a5c0a49fad236fdcd8 Mon Sep 17 00:00:00 2001 From: ross Date: Thu, 5 Feb 2004 11:45:59 +0000 Subject: [PATCH] [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). --- include/HsBase.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.7.10.4