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:
fe7274a
)
[project @ 2004-02-16 11:08:58 by ross]
author
ross
<unknown>
Mon, 16 Feb 2004 11:08:58 +0000
(11:08 +0000)
committer
ross
<unknown>
Mon, 16 Feb 2004 11:08:58 +0000
(11:08 +0000)
adjust imports for portability
Debug/Trace.hs
patch
|
blob
|
history
diff --git
a/Debug/Trace.hs
b/Debug/Trace.hs
index
e5905b1
..
00af949
100644
(file)
--- a/
Debug/Trace.hs
+++ b/
Debug/Trace.hs
@@
-34,15
+34,13
@@
module Debug.Trace (
) where
import Prelude
+import Data.IORef
import System.IO.Unsafe
import System.IO
-#ifdef __GLASGOW_HASKELL__
-import GHC.IOBase
-import GHC.Handle
-#endif
-
+#ifdef mingw32_TARGET_OS
import Foreign.C.String
+#endif
{-# NOINLINE tracers #-}
tracers :: IORef [(String, String -> IO ())]