Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into imported-from
Browse files Browse the repository at this point in the history
  • Loading branch information
lierdakil committed Oct 25, 2016
2 parents 87390ee + 3081e1d commit 0ca8134
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Language/Haskell/GhcMod/Gap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,16 @@ import PatSyn
import TcRnTypes
#endif

#if defined(MIN_VERSION_GLASGOW_HASKELL) && MIN_VERSION_GLASGOW_HASKELL(8,0,2,0)
-- GHC 7.8 doesn't define this macro, nor does GHC 7.10.0
-- It IS defined from 7.10.1 and up though.
-- So we can only test for 7.10.1.0 and up with it.
#if __GLASGOW_HASKELL__ < 710
#ifndef MIN_VERSION_GLASGOW_HASKELL
#define MIN_VERSION_GLASGOW_HASKELL(a,b,c,d) FALSE
#endif
#endif

#if MIN_VERSION_GLASGOW_HASKELL(8,0,2,0)
import GHC hiding (ClsInst, withCleanupSession)
import qualified GHC (withCleanupSession)
#elif __GLASGOW_HASKELL__ >= 706
Expand Down

0 comments on commit 0ca8134

Please sign in to comment.