summaryrefslogtreecommitdiff
path: root/compiler/utils/Pretty.lhs
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-06-14 14:04:11 -0700
committerDavid Terei <davidterei@gmail.com>2011-06-17 20:40:34 -0700
commit1d704e17caef8156a3d4c4b764737ede85884eb8 (patch)
treefdc5c2b7023d16b4aa111739c314be37c5de8e45 /compiler/utils/Pretty.lhs
parent90bab6b82256b5dc0562e46a091b4dcfce18f804 (diff)
downloadhaskell-1d704e17caef8156a3d4c4b764737ede85884eb8.tar.gz
SafeHaskell: Make base GHC.* modules untrusted
Diffstat (limited to 'compiler/utils/Pretty.lhs')
-rw-r--r--compiler/utils/Pretty.lhs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/utils/Pretty.lhs b/compiler/utils/Pretty.lhs
index 7b2702d471..0493daabee 100644
--- a/compiler/utils/Pretty.lhs
+++ b/compiler/utils/Pretty.lhs
@@ -193,11 +193,7 @@ import System.IO
--for a RULES
import GHC.Base ( unpackCString# )
import GHC.Exts ( Int# )
-#if __GLASGOW_HASKELL__ >= 701
-import GHC.Ptr.Unsafe ( Ptr(..) )
-#else
-import GHC.Ptr ( Ptr(..) )
-#endif
+import GHC.Ptr ( Ptr(..) )
#endif
-- Don't import Util( assertPanic ) because it makes a loop in the module structure