X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FBreakArray.hs;h=2d1a4d491fdd88166c6f123f1ec3b018bef6de76;hp=60d1410cd070467d751271fce4de9883d017e322;hb=d436c70d43fb905c63220040168295e473f4b90a;hpb=206b4dec78250efef3cd927d64dc6cbc54a16c3d diff --git a/compiler/main/BreakArray.hs b/compiler/main/BreakArray.hs index 60d1410..2d1a4d4 100644 --- a/compiler/main/BreakArray.hs +++ b/compiler/main/BreakArray.hs @@ -11,13 +11,6 @@ -- ----------------------------------------------------------------------------- -{-# OPTIONS -w #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and fix --- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings --- for details - module BreakArray ( BreakArray #ifdef GHCI @@ -33,8 +26,11 @@ module BreakArray ) where #ifdef GHCI import GHC.Exts -import GHC.IOBase -import GHC.Word +#if __GLASGOW_HASKELL__ >= 611 +import GHC.IO ( IO(..) ) +#else +import GHC.IOBase ( IO(..) ) +#endif import Constants data BreakArray = BA (MutableByteArray# RealWorld)