From 366d3741b70c3a6a0e32f0e092c5b063678a7964 Mon Sep 17 00:00:00 2001 From: ross Date: Mon, 19 Sep 2005 23:24:31 +0000 Subject: [project @ 2005-09-19 23:24:31 by ross] For compilers other than MSVC and GCC, assume inline has the C99 semantics. --- include/HsUnix.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/HsUnix.h b/include/HsUnix.h index 51bf111..5b17359 100644 --- a/include/HsUnix.h +++ b/include/HsUnix.h @@ -85,11 +85,11 @@ extern char **environ; #ifndef INLINE -#ifdef __HUGS__ -#define INLINE INLINE_ONLY -#else -#define INLINE extern inline -#endif +# if defined(__GNUC__) +# define INLINE extern inline +# else +# define INLINE inline +# endif #endif INLINE int __hsunix_wifexited (int stat) { return WIFEXITED(stat); } -- cgit v1.2.3