summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-15 14:15:44 +0000
committerIan Lynagh <igloo@earth.li>2010-07-15 14:15:44 +0000
commit36b95bfff2e3925be37e1f8ada3914b8d6dfebb6 (patch)
tree0f12091f176b8d852e643f62de0d1d6934817776 /utils
parent40ecf8e6b45fbcf1a99e3b901e2e87da6fbc8a15 (diff)
downloadhaskell-36b95bfff2e3925be37e1f8ada3914b8d6dfebb6.tar.gz
__GLASGOW_HASKELL__ >= 609 is now always true
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/Main.hs8
1 files changed, 0 insertions, 8 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index e110cb4b3c..12eaaba388 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -30,11 +30,7 @@ import Prelude
#include "../../includes/ghcconfig.h"
import System.Console.GetOpt
-#if __GLASGOW_HASKELL__ >= 609
import qualified Control.Exception as Exception
-#else
-import qualified Control.Exception.Extensible as Exception
-#endif
import Data.Maybe
import Data.Char ( isSpace, toLower )
@@ -1670,11 +1666,7 @@ openNewFile dir template = do
-- as any exceptions etc will only be able to report the
-- fd currently
h <-
-#if __GLASGOW_HASKELL__ >= 609
fdToHandle fd
-#else
- fdToHandle (fromIntegral fd)
-#endif
`Exception.onException` c_close fd
return (filepath, h)
where