projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6732243
)
[project @ 2005-09-19 23:24:31 by ross]
author
ross
<unknown>
Mon, 19 Sep 2005 23:24:31 +0000
(23:24 +0000)
committer
ross
<unknown>
Mon, 19 Sep 2005 23:24:31 +0000
(23:24 +0000)
For compilers other than MSVC and GCC, assume inline has the C99 semantics.
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
ba3b40a
..
935da37
100644
(file)
--- 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