aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/InterfaceFile.hs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2013-11-10 18:34:58 +0100
committerSimon Hengel <sol@typeful.net>2013-11-10 18:43:58 +0100
commit32540bba5bc83241e9108c19cb9b25af9e0f7c77 (patch)
tree6c2c8b020c14e0d5d95e09427eb300f98ad490f5 /src/Haddock/InterfaceFile.hs
parente27f11697ccaa31ee43383207da9b710d10d278a (diff)
Bump version
Diffstat (limited to 'src/Haddock/InterfaceFile.hs')
-rw-r--r--src/Haddock/InterfaceFile.hs14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 4811f64f..b993dd67 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -74,21 +74,11 @@ binaryInterfaceMagic = 0xD0Cface
-- (2) set `binaryInterfaceVersionCompatibility` to [binaryInterfaceVersion]
--
binaryInterfaceVersion :: Word16
-#if __GLASGOW_HASKELL__ == 702
-binaryInterfaceVersion = 20
-#elif __GLASGOW_HASKELL__ == 703
-binaryInterfaceVersion = 20
-#elif __GLASGOW_HASKELL__ == 704
-binaryInterfaceVersion = 20
-#elif __GLASGOW_HASKELL__ == 705
-binaryInterfaceVersion = 20
-#elif __GLASGOW_HASKELL__ == 706
-binaryInterfaceVersion = 20
-#elif __GLASGOW_HASKELL__ == 707
+#if __GLASGOW_HASKELL__ == 707
binaryInterfaceVersion = 23
binaryInterfaceVersionCompatibility :: [Word16]
-binaryInterfaceVersionCompatibility = [23]
+binaryInterfaceVersionCompatibility = [binaryInterfaceVersion]
#else
#error Unsupported GHC version
#endif