projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2005-11-05 00:23:36 by ross]
[ghc-hetmet.git]
/
ghc
/
utils
/
ghc-pkg
/
Main.hs
diff --git
a/ghc/utils/ghc-pkg/Main.hs
b/ghc/utils/ghc-pkg/Main.hs
index
e576c9c
..
04170c4
100644
(file)
--- a/
ghc/utils/ghc-pkg/Main.hs
+++ b/
ghc/utils/ghc-pkg/Main.hs
@@
-47,7
+47,11
@@
import System ( getArgs, getProgName, getEnv,
exitWith, ExitCode(..)
)
import System.IO
+#if __GLASGOW_HASKELL__ >= 600
import System.IO.Error (try)
+#else
+import System.IO (try)
+#endif
import Data.List ( isPrefixOf, isSuffixOf, intersperse, groupBy, sortBy )
#ifdef mingw32_HOST_OS