diff options
Diffstat (limited to 'Setup.hs')
-rw-r--r-- | Setup.hs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,10 @@ -#!/usr/bin/env runhaskell {-# LANGUAGE CPP, RecordWildCards, NamedFieldPuns #-} -#if defined(MIN_VERSION_Cabal) && MIN_VERSION_Cabal(2,1,0) +#ifndef MIN_VERSION_Cabal +#define MIN_VERSION_Cabal(x,y,z) 0 +#endif + +#if MIN_VERSION_Cabal(2,1,0) -- https://github.com/haskell/cabal/pull/4501 is upstream in 2.0, yey import Distribution.Simple |