summaryrefslogtreecommitdiff
path: root/compiler/ghci/ByteCodeAsm.lhs
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-05-29 13:18:22 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-05-29 13:18:22 +0000
commit1c83695b5b9ae3175c18908c1d58aeadb1f225ae (patch)
tree31d3073656ae76ac32d0a4819c9bbfc6bd82ecd6 /compiler/ghci/ByteCodeAsm.lhs
parent2675f2b68794ef6712e1ea0b9ec110c46c9e5ebf (diff)
downloadhaskell-1c83695b5b9ae3175c18908c1d58aeadb1f225ae.tar.gz
Changes for the new IO library, mainly base-package modules moving around
Diffstat (limited to 'compiler/ghci/ByteCodeAsm.lhs')
-rw-r--r--compiler/ghci/ByteCodeAsm.lhs7
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/ghci/ByteCodeAsm.lhs b/compiler/ghci/ByteCodeAsm.lhs
index 66a15004f9..4d360e1ffe 100644
--- a/compiler/ghci/ByteCodeAsm.lhs
+++ b/compiler/ghci/ByteCodeAsm.lhs
@@ -46,9 +46,14 @@ import Data.Int ( Int64 )
import Data.Char ( ord )
import GHC.Base ( ByteArray#, MutableByteArray#, RealWorld )
-import GHC.IOBase ( IO(..) )
import GHC.Ptr ( Ptr(..) )
+#if __GLASGOW_HASKELL__ >= 611
+import GHC.IO ( IO(..) )
+#else
+import GHC.IOBase ( IO(..) )
+#endif
+
-- -----------------------------------------------------------------------------
-- Unlinked BCOs