Permalink
Browse files

Fix build for GHC 6.10.4.

  • Loading branch information...
1 parent b8fd7c7 commit acb5d491b6dd12f1aeb27ef81b568e55258b2378 @nominolo committed Dec 9, 2009
Showing with 7 additions and 3 deletions.
  1. +2 −2 ghc-syb.cabal
  2. +5 −1 src/GHC/SYB/Instances.hs
View
@@ -1,5 +1,5 @@
name: ghc-syb
-version: 0.1.2.1
+version: 0.1.2.2
license: BSD3
license-file: LICENSE
author: Claus Reinke
@@ -12,7 +12,7 @@ category: Development
stability: provisional
build-type: Simple
cabal-version: >= 1.2.3
-tested-with: GHC ==6.10.1
+tested-with: GHC ==6.10.1, GHC ==6.10.4
-- extra-source-files: README
library
@@ -278,6 +278,9 @@ deriving instance Data HsDocString
deriving instance Typeable DocDecl
deriving instance Data DocDecl
+#else
+deriving instance Typeable1 DocDecl
+deriving instance Data a => Data (DocDecl a)
#endif
-- Typeable1
@@ -465,5 +468,6 @@ deriving instance Data a => Data (AnnProvenance a)
deriving instance Typeable1 AnnProvenance
#endif
-#endif
+-- end of ifdef __HADDOCK__
+#endif

0 comments on commit acb5d49

Please sign in to comment.