From 7e871739e65d4a026b2072fb27adad024fb8f55d Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 7 Aug 2017 15:20:24 +0200 Subject: Fix wrong CPP bound --- CabalHelper/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CabalHelper/Main.hs') diff --git a/CabalHelper/Main.hs b/CabalHelper/Main.hs index ae78baf..4cd6000 100644 --- a/CabalHelper/Main.hs +++ b/CabalHelper/Main.hs @@ -97,7 +97,7 @@ import Distribution.Types.ForeignLib (ForeignLib(..)) import Distribution.Types.UnqualComponentName (unUnqualComponentName) #endif -#if CH_MIN_VERSION_Cabal(2,1,0) +#if CH_MIN_VERSION_Cabal(2,0,0) import Distribution.Types.UnitId (UnitId) import Distribution.Types.MungedPackageId (MungedPackageId) #endif @@ -495,7 +495,7 @@ removeInplaceDeps v lbi pd clbi = let in (clbi', libopts) where -#if CH_MIN_VERSION_Cabal(2,1,0) +#if CH_MIN_VERSION_Cabal(2,0,0) isInplaceDep :: (UnitId, MungedPackageId) -> Bool isInplaceDep (mpid, pid) = localUnitId lbi == mpid #else -- cgit v1.2.3