aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/InterfaceFile.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2009-08-14 17:14:28 +0000
committerDavid Waern <david.waern@gmail.com>2009-08-14 17:14:28 +0000
commit70b0328fbb31f898e002f9405f85ec4e901c5f4f (patch)
tree3fc45f6acb22235ae6a1d99b2d4cc8c97eadf32b /src/Haddock/InterfaceFile.hs
parent877ff1c287427f54510d01f3a01424a86f9a970c (diff)
Version .haddock files made with GHC 6.10.3/4 correclty
Diffstat (limited to 'src/Haddock/InterfaceFile.hs')
-rw-r--r--src/Haddock/InterfaceFile.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 9c6df447..d51847f8 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -58,18 +58,18 @@ binaryInterfaceMagic = 0xD0Cface
-- Instead of adding one, we add five to all version numbers
-- when one of our own (stored) datatypes is changed.
binaryInterfaceVersion :: Word16
-#if __GLASGOW_HASKELL__ == 608 && __GHC_PATCHLEVEL__ == 2
-binaryInterfaceVersion = 9
-#endif
-#if __GLASGOW_HASKELL__ == 608 && __GHC_PATCHLEVEL__ == 3
-binaryInterfaceVersion = 10
-#endif
#if __GLASGOW_HASKELL__ == 610 && __GHC_PATCHLEVEL__ == 1
binaryInterfaceVersion = 11
#endif
#if __GLASGOW_HASKELL__ == 610 && __GHC_PATCHLEVEL__ == 2
binaryInterfaceVersion = 12
#endif
+#if __GLASGOW_HASKELL__ == 610 && __GHC_PATCHLEVEL__ == 3
+binaryInterfaceVersion = 14
+#endif
+#if __GLASGOW_HASKELL__ == 610 && __GHC_PATCHLEVEL__ == 4
+binaryInterfaceVersion = 15
+#endif
#if __GLASGOW_HASKELL__ == 611
binaryInterfaceVersion = 13
#endif