From 2fc03348a72070c27cdd49e83e6cf6bad3b7d1bc Mon Sep 17 00:00:00 2001 From: Isaac Dupree Date: Mon, 17 Aug 2009 00:37:18 +0000 Subject: fix preprocessor conditional sense --- src/Haddock/Interface/AttachInstances.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Haddock/Interface/AttachInstances.hs b/src/Haddock/Interface/AttachInstances.hs index 46451c5a..f9a951f3 100644 --- a/src/Haddock/Interface/AttachInstances.hs +++ b/src/Haddock/Interface/AttachInstances.hs @@ -25,7 +25,7 @@ import Class import HscTypes (withSession, ioMsg) import TcRnDriver (tcRnGetInfo) -#if __GLASGOW_HASKELL__ >= 610 && __GHC_PATCHLEVEL__ >= 2 +#if __GLASGOW_HASKELL__ > 610 || (__GLASGOW_HASKELL__ == 610 && __GHC_PATCHLEVEL__ >= 2) import TypeRep hiding (funTyConName) #else import TypeRep -- cgit v1.2.3