mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-19 12:56:08 +00:00
Merge pull request #541 from qzchenwl/master
Fix compile error for ghc-7.10.2
This commit is contained in:
commit
dca36085e8
@ -168,7 +168,9 @@ interpret libdir allowedStdin action = runGhc (Just libdir) $ do
|
||||
|
||||
-- Run the rest of the interpreter
|
||||
action
|
||||
#if MIN_VERSION_ghc(7,10,0)
|
||||
#if MIN_VERSION_ghc(7,10,2)
|
||||
packageIdString' dflags pkg_key = fromMaybe "(unknown)" (packageKeyPackageIdString dflags pkg_key)
|
||||
#elif MIN_VERSION_ghc(7,10,0)
|
||||
packageIdString' dflags = packageKeyPackageIdString dflags
|
||||
#else
|
||||
packageIdString' dflags = packageIdString
|
||||
|
Loading…
x
Reference in New Issue
Block a user