diff options
Diffstat (limited to 'include/HsUnix.h')
-rw-r--r-- | include/HsUnix.h | 10 |
1 files changed, 5 insertions, 5 deletions
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); } |