From 5ca76f4fdf9a9ff38983e4f0f794eac11f98594a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 26 Jun 2011 19:28:30 +0100 Subject: Bump GHC dep to allow 7.2 --- haddock.cabal | 4 ++-- src/Haddock/InterfaceFile.hs | 4 ++++ 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 -- cgit v1.2.3