aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-06-26 19:28:30 +0100
committerIan Lynagh <igloo@earth.li>2011-06-26 21:06:40 +0100
commit5ca76f4fdf9a9ff38983e4f0f794eac11f98594a (patch)
treea7f8104ae00fba20e5d0f9202c5e0e5154b29261
parent8739a6bd59f562bb550c915f1d2b2a327b748572 (diff)
Bump GHC dep to allow 7.2
-rw-r--r--haddock.cabal4
-rw-r--r--src/Haddock/InterfaceFile.hs4
2 files changed, 6 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 60826ea1..37bb77c7 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -83,7 +83,7 @@ executable haddock
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
- ghc >= 7.0 && < 7.2
+ ghc >= 7.0 && < 7.4
if flag(in-ghc-tree)
cpp-options: -DIN_GHC_TREE
@@ -143,7 +143,7 @@ library
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
- ghc >= 7.0 && < 7.2
+ ghc >= 7.0 && < 7.4
if flag(in-ghc-tree)
cpp-options: -DIN_GHC_TREE
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 673040e3..d337eefe 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -68,6 +68,10 @@ binaryInterfaceVersion :: Word16
binaryInterfaceVersion = 16
#elif __GLASGOW_HASKELL__ == 701
binaryInterfaceVersion = 16
+#elif __GLASGOW_HASKELL__ == 702
+binaryInterfaceVersion = 16
+#elif __GLASGOW_HASKELL__ == 703
+binaryInterfaceVersion = 16
#else
#error Unknown GHC version
#endif