Fix warnings: put imports inside ifdefs
authorIan Lynagh <igloo@earth.li>
Fri, 20 Feb 2009 17:39:41 +0000 (17:39 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 20 Feb 2009 17:39:41 +0000 (17:39 +0000)
GHC/Conc.lhs

index 25eef9f..1351125 100644 (file)
@@ -114,16 +114,20 @@ import System.Posix.Internals
 import Foreign
 import Foreign.C
 
+#ifndef mingw32_HOST_OS
 import Data.Dynamic
-import Data.Maybe
 import Control.Monad
+#endif
+import Data.Maybe
 
 import GHC.Base
 import {-# SOURCE #-} GHC.Handle
 import GHC.IOBase
 import GHC.Num          ( Num(..) )
 import GHC.Real         ( fromIntegral )
+#ifndef mingw32_HOST_OS
 import GHC.Arr          ( inRange )
+#endif
 #ifdef mingw32_HOST_OS
 import GHC.Real         ( div )
 import GHC.Ptr          ( plusPtr, FunPtr(..) )