Commit dca36085 authored by Andrew Gibiansky's avatar Andrew Gibiansky

Merge pull request #541 from qzchenwl/master

Fix compile error for ghc-7.10.2
parents a1db0c7b b7338b3e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment