X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FbasicTypes%2FUniqSupply.lhs;h=9a5e80358f141301857cf3bf1a8b58bc5df3e9a5;hb=432b9c9322181a3644083e3c19b7e240d90659e7;hp=774d2d2b20c11507f8d008888ca5e15b8c0933d7;hpb=9d93bcd09efd26fc15c34c5c55dc2862886ca407;p=ghc-hetmet.git diff --git a/compiler/basicTypes/UniqSupply.lhs b/compiler/basicTypes/UniqSupply.lhs index 774d2d2..9a5e803 100644 --- a/compiler/basicTypes/UniqSupply.lhs +++ b/compiler/basicTypes/UniqSupply.lhs @@ -31,12 +31,10 @@ import FastTypes import MonadUtils import Control.Monad import Control.Monad.Fix -#if __GLASGOW_HASKELL__ >= 607 -import GHC.IOBase (unsafeDupableInterleaveIO) +#if __GLASGOW_HASKELL__ >= 611 +import GHC.IO (unsafeDupableInterleaveIO) #else -import System.IO.Unsafe ( unsafeInterleaveIO ) -unsafeDupableInterleaveIO :: IO a -> IO a -unsafeDupableInterleaveIO = unsafeInterleaveIO +import GHC.IOBase (unsafeDupableInterleaveIO) #endif \end{code}