summaryrefslogtreecommitdiff
path: root/ghc/compiler/utils/Pretty.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/utils/Pretty.lhs')
-rw-r--r--ghc/compiler/utils/Pretty.lhs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/compiler/utils/Pretty.lhs b/ghc/compiler/utils/Pretty.lhs
index 985666d013..ad2a76fb9d 100644
--- a/ghc/compiler/utils/Pretty.lhs
+++ b/ghc/compiler/utils/Pretty.lhs
@@ -12,10 +12,12 @@
#endif
module Pretty (
- SYN_IE(Pretty),
#if defined(COMPILING_GHC)
+ SYN_IE(Pretty),
prettyToUn,
+#else
+ Pretty,
#endif
ppNil, ppStr, ppPStr, ppChar, ppInt, ppInteger,
ppFloat, ppDouble,
@@ -46,6 +48,8 @@ IMPORT_1_3(Ratio)
IMPORT_1_3(IO)
import Unpretty ( SYN_IE(Unpretty) )
+#else
+import Ratio
#endif
import CharSeq