Don't use MIN_VERSION for ghc

This commit is contained in:
Daniel Gröber 2016-07-17 22:32:35 +02:00
parent 751bfbcb7e
commit f35ebbbab9
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ cabalCradle cabalProg wdir = do
stackCradle ::
(IOish m, GmLog m, GmOut m) => FilePath -> FilePath -> MaybeT m Cradle
stackCradle stackProg wdir = do
#if !MIN_VERSION_ghc(7,8,0)
#if __GLASGOW_HASKELL__ < 708
-- GHC < 7.8 is not supported by stack
mzero
#endif