diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-06-12 03:48:50 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2017-06-12 03:48:50 +0200 |
commit | c365e153d9379e7a1f5dd7a700aeb5eff619e4f3 (patch) | |
tree | 0fe6a1a27eee31c62584439012ab5700dbc55f60 /Setup.hs | |
parent | 225e209b2c93d7f28e206a618ef86a396cf65986 (diff) |
Fix the build
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 |