[project @ 2004-02-16 11:08:58 by ross]
authorross <unknown>
Mon, 16 Feb 2004 11:08:58 +0000 (11:08 +0000)
committerross <unknown>
Mon, 16 Feb 2004 11:08:58 +0000 (11:08 +0000)
adjust imports for portability

Debug/Trace.hs

index e5905b1..00af949 100644 (file)
@@ -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 ())]