mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
17 lines
747 B
Diff
17 lines
747 B
Diff
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
|
|
|