From 045e9c49bf18575052dd572194dd05fc029e0242 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 21 Mar 2009 14:59:26 +0000 Subject: Define __GHC_PATCHLEVEL__=1 when using ghc-6.10.1 --- haddock.cabal | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'haddock.cabal') diff --git a/haddock.cabal b/haddock.cabal index b0829667..7b999430 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -118,6 +118,8 @@ executable haddock Haddock.GHC -- Cabal doesn't define __GHC_PATCHLEVEL__ + if impl(ghc == 6.10.1) + cpp-options: -D__GHC_PATCHLEVEL__=1 if impl(ghc == 6.8.3) cpp-options: -D__GHC_PATCHLEVEL__=3 if impl(ghc == 6.8.2) || impl(ghc >= 6.10.1.20090223) @@ -137,6 +139,8 @@ library Haddock.GHC.Utils -- Cabal doesn't define __GHC_PATCHLEVEL__ + if impl(ghc == 6.10.1) + cpp-options: -D__GHC_PATCHLEVEL__=1 if impl(ghc == 6.8.3) cpp-options: -D__GHC_PATCHLEVEL__=3 if impl(ghc == 6.8.2) || impl(ghc >= 6.10.1.20090223) -- cgit v1.2.3