defining C macro if not defined.
This commit is contained in:
@@ -10,6 +10,10 @@ module Language.Haskell.GhcMod.GhcPkg (
|
||||
, getPackageDbStack
|
||||
) where
|
||||
|
||||
#ifndef MIN_VERSION_Cabal
|
||||
#define MIN_VERSION_Cabal(x,y,z) 1
|
||||
#endif
|
||||
|
||||
import Config (cProjectVersionInt)
|
||||
import Control.Applicative ((<$>))
|
||||
#if MIN_VERSION_Cabal(1,18,0)
|
||||
|
||||
Reference in New Issue
Block a user