summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Version.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/Data/Version.hs')
-rw-r--r--libraries/base/Data/Version.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/base/Data/Version.hs b/libraries/base/Data/Version.hs
index b0dd92e9ae..02089317b3 100644
--- a/libraries/base/Data/Version.hs
+++ b/libraries/base/Data/Version.hs
@@ -40,7 +40,7 @@ import Prelude -- necessary to get dependencies right
-- of GHC. In which case, we might need to pick up ReadP from
-- Distribution.Compat.ReadP, because the version in
-- Text.ParserCombinators.ReadP doesn't have all the combinators we need.
-#if __GLASGOW_HASKELL__ || __HUGS__ || __NHC__
+#if __GLASGOW_HASKELL__ || __HUGS__
import Text.ParserCombinators.ReadP
#else
import Distribution.Compat.ReadP
@@ -137,8 +137,6 @@ showVersion (Version branch tags)
--
#if __GLASGOW_HASKELL__ || __HUGS__
parseVersion :: ReadP Version
-#elif __NHC__
-parseVersion :: ReadPN r Version
#else
parseVersion :: ReadP r Version
#endif