1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index eacf447..458d15f 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -1,2 +1,2 @@
-{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, StandaloneDeriving, TypeFamilies, RecordWildCards #-}
+{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, StandaloneDeriving, TypeFamilies, RecordWildCards, CPP #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
@@ -450,2 +450,3 @@ instance (NFData a, NFData mod)
+#if !MIN_VERSION_GLASGOW_HASKELL(8,0,1,1)
instance NFData Name where rnf x = seq x ()
@@ -453,2 +454,3 @@ instance NFData OccName where rnf x = seq x ()
instance NFData ModuleName where rnf x = seq x ()
+#endif
|