Commit 519a0b70 authored by simonmar's avatar simonmar

[project @ 2002-09-09 12:10:01 by simonmar]

Urk, the 'import Pretty' in this module was a bit of a hack; when
compiled as part of the standalone ghc-pkg tool it referred to the
Pretty library from the util package, but when compiled as part of the
compiler it referred to the compiler's own Pretty module.  Hack around
this.
parent 58246470
-----------------------------------------------------------------------------
-- $Id: Package.hs,v 1.4 2002/09/09 11:32:38 simonmar Exp $
-- $Id: Package.hs,v 1.5 2002/09/09 12:10:01 simonmar Exp $
--
-- Package configuration defn.
-----------------------------------------------------------------------------
......@@ -17,7 +17,7 @@ module Package (
#endif
#ifdef WANT_PRETTY
#if __GLASGOW_HASKELL__ >= 504
#if __GLASGOW_HASKELL__ >= 504 && !defined(INTERNAL_PRETTY)
import Text.PrettyPrint
#else
import Pretty
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment