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