Fix 'withCleanupSession' CPP conditional

This commit is contained in:
Daniel Gröber 2016-10-22 20:36:02 +02:00
parent ad99dd9c55
commit 757e17f34a

View File

@ -95,7 +95,7 @@ import PatSyn
import TcRnTypes import TcRnTypes
#endif #endif
#if __GLASGOW_HASKELL__ >= 802 #if defined(MIN_VERSION_GLASGOW_HASKELL) && MIN_VERSION_GLASGOW_HASKELL(8,0,2,0)
import GHC hiding (ClsInst, withCleanupSession) import GHC hiding (ClsInst, withCleanupSession)
import qualified GHC (withCleanupSession) import qualified GHC (withCleanupSession)
#elif __GLASGOW_HASKELL__ >= 706 #elif __GLASGOW_HASKELL__ >= 706