diff options
-rw-r--r-- | haddock.cabal | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/haddock.cabal b/haddock.cabal index ea63079e..22547eab 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -123,3 +123,9 @@ library Haddock.Types Haddock.InterfaceFile Haddock.Exception + + -- Cabal doesn't define __GHC_PATCHLEVEL__ + if impl(ghc == 6.8.3) + cpp-options: -D__GHC_PATCHLEVEL__=3 + if impl(ghc == 6.8.2) + cpp-options: -D__GHC_PATCHLEVEL__=2 |