projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
caadd03
)
[project @ 2003-02-21 04:57:16 by sof]
author
sof
<unknown>
Fri, 21 Feb 2003 04:57:16 +0000
(
04:57
+0000)
committer
sof
<unknown>
Fri, 21 Feb 2003 04:57:16 +0000
(
04:57
+0000)
deja vu all over again
ghc/compiler/utils/Panic.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/utils/Panic.lhs
b/ghc/compiler/utils/Panic.lhs
index
efb3c6a
..
b47ff7f
100644
(file)
--- a/
ghc/compiler/utils/Panic.lhs
+++ b/
ghc/compiler/utils/Panic.lhs
@@
-22,17
+22,18
@@
module Panic
) where
#include "HsVersions.h"
) where
#include "HsVersions.h"
+#include "config.h"
import Config
import FastTypes
import Config
import FastTypes
-#if __GLASGOW_HASKELL__ > 504
+#ifndef mingw32_HOST_OS
+# if __GLASGOW_HASKELL__ > 504
import System.Posix.Signals
import System.Posix.Signals
-#else
+# else
import Posix ( Handler(Catch), installHandler, sigINT, sigQUIT )
import Posix ( Handler(Catch), installHandler, sigINT, sigQUIT )
-#endif
+# endif
-#ifndef mingw32_HOST_OS
import CONCURRENT ( myThreadId )
# if __GLASGOW_HASKELL__ < 500
import CONCURRENT ( myThreadId )
# if __GLASGOW_HASKELL__ < 500