aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal12
1 files changed, 10 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 4af5e71f..b3902e92 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -112,8 +112,12 @@ executable haddock
-- Cabal doesn't define __GHC_PATCHLEVEL__
if impl(ghc == 6.10.1)
cpp-options: -D__GHC_PATCHLEVEL__=1
- if impl(ghc >= 6.10.1.20090223)
+ if impl(ghc == 6.10.2)
cpp-options: -D__GHC_PATCHLEVEL__=2
+ if impl(ghc == 6.10.3)
+ cpp-options: -D__GHC_PATCHLEVEL__=3
+ if impl(ghc == 6.10.4)
+ cpp-options: -D__GHC_PATCHLEVEL__=4
library
hs-source-dirs: src
@@ -129,8 +133,12 @@ library
-- Cabal doesn't define __GHC_PATCHLEVEL__
if impl(ghc == 6.10.1)
cpp-options: -D__GHC_PATCHLEVEL__=1
- if impl(ghc >= 6.10.1.20090223)
+ if impl(ghc == 6.10.2)
cpp-options: -D__GHC_PATCHLEVEL__=2
+ if impl(ghc == 6.10.3)
+ cpp-options: -D__GHC_PATCHLEVEL__=3
+ if impl(ghc == 6.10.4)
+ cpp-options: -D__GHC_PATCHLEVEL__=4
if flag(in-ghc-tree)
buildable: False