X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=System%2FIO%2FUnsafe.hs;h=05f2c7bd8ee46343ec5b15053b61293990d27fc2;hb=685432ac839f249ccd98bdf79fcf0c985872380b;hp=3a3e7f60bc25a282900d5c04927e50c757895194;hpb=d2063b5b0be014545b21819172c87756efcb0b0c;p=ghc-base.git diff --git a/System/IO/Unsafe.hs b/System/IO/Unsafe.hs index 3a3e7f6..05f2c7b 100644 --- a/System/IO/Unsafe.hs +++ b/System/IO/Unsafe.hs @@ -28,10 +28,6 @@ import Hugs.IOExts (unsafePerformIO, unsafeInterleaveIO) #endif #ifdef __NHC__ -import NHC.Internal (unsafePerformIO) +import NHC.Internal (unsafePerformIO, unsafeInterleaveIO) #endif -#if !__GLASGOW_HASKELL__ && !__HUGS__ -unsafeInterleaveIO :: IO a -> IO a -unsafeInterleaveIO f = return (unsafePerformIO f) -#endif