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:
b5d6f38
)
non-GHC: leave out Belch functions
author
Ross Paterson
<ross@soi.city.ac.uk>
Sun, 31 Aug 2008 18:02:27 +0000
(18:02 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Sun, 31 Aug 2008 18:02:27 +0000
(18:02 +0000)
cbits/PrelIOUtils.c
patch
|
blob
|
history
diff --git
a/cbits/PrelIOUtils.c
b/cbits/PrelIOUtils.c
index
cf74a8e
..
c1999af
100644
(file)
--- a/
cbits/PrelIOUtils.c
+++ b/
cbits/PrelIOUtils.c
@@
-6,8
+6,9
@@
#define INLINE
#include "HsBase.h"
-#include "Stg.h"
-#include "RtsMessages.h"
+#ifdef __GLASGOW_HASKELL__
+# include "Stg.h"
+# include "RtsMessages.h"
void errorBelch2(const char*s, char *t)
{
@@
-18,3
+19,4
@@
void debugBelch2(const char*s, char *t)
{
debugBelch(s,t);
}
+#endif /* __GLASGOW_HASKELL__ */