diff options
Diffstat (limited to 'haddock.cabal')
-rw-r--r-- | haddock.cabal | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/haddock.cabal b/haddock.cabal index 98bf7fa5..a9b3cac7 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -120,11 +120,9 @@ executable haddock -- Cabal doesn't define __GHC_PATCHLEVEL__ if impl(ghc == 6.8.3) cpp-options: -D__GHC_PATCHLEVEL__=3 - if impl(ghc == 6.8.2) + if impl(ghc == 6.8.2) || impl(ghc >= 6.10.1.20090223) cpp-options: -D__GHC_PATCHLEVEL__=2 - - library hs-source-dirs: src extensions: CPP, PatternGuards, DeriveDataTypeable, @@ -141,7 +139,7 @@ library -- Cabal doesn't define __GHC_PATCHLEVEL__ if impl(ghc == 6.8.3) cpp-options: -D__GHC_PATCHLEVEL__=3 - if impl(ghc == 6.8.2) + if impl(ghc == 6.8.2) || impl(ghc >= 6.10.1.20090223) cpp-options: -D__GHC_PATCHLEVEL__=2 if flag(in-ghc-tree) |