projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f8f478
)
[project @ 2004-02-05 11:45:59 by ross]
author
ross
<unknown>
Thu, 5 Feb 2004 11:45:59 +0000
(11:45 +0000)
committer
ross
<unknown>
Thu, 5 Feb 2004 11:45:59 +0000
(11:45 +0000)
Hugs only: use the configure-set variable INLINE_ONLY instead of
`extern inline' (which works for gcc but not C99 compilers).
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
e3a8120
..
6c68618
100644
(file)
--- 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