diff options
author | ross <unknown> | 2005-09-19 23:24:31 +0000 |
---|---|---|
committer | ross <unknown> | 2005-09-19 23:24:31 +0000 |
commit | 366d3741b70c3a6a0e32f0e092c5b063678a7964 (patch) | |
tree | a6fed157ec82cf41cf1195f7b56f5d35ce23f991 /include | |
parent | 6557223273f97f8a03697ffb21449e495afb26c6 (diff) |
[project @ 2005-09-19 23:24:31 by ross]
For compilers other than MSVC and GCC, assume inline has the C99 semantics.
Diffstat (limited to 'include')
-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); } |