aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
diff options
context:
space:
mode:
authorCale Gibbard <cgibbard@gmail.com>2020-02-07 16:55:56 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-02-10 16:10:39 -0500
commit6a94bc96f79ded771c1c395b77c4b1824ed65ce3 (patch)
treed56ddcb83a6f55409f01050cae5968e72f8995ab /haddock-api
parentf3e3c4a766805a1bbea75bf23b84fdaaf053c226 (diff)
Fix build of haddock in stage1
We have to use the correct version of the GHC API, but the version of the compiler itself doesn't matter.
Diffstat (limited to 'haddock-api')
-rw-r--r--haddock-api/src/Haddock/InterfaceFile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/InterfaceFile.hs b/haddock-api/src/Haddock/InterfaceFile.hs
index 812d6a50..e96ff665 100644
--- a/haddock-api/src/Haddock/InterfaceFile.hs
+++ b/haddock-api/src/Haddock/InterfaceFile.hs
@@ -82,7 +82,7 @@ binaryInterfaceMagic = 0xD0Cface
-- (2) set `binaryInterfaceVersionCompatibility` to [binaryInterfaceVersion]
--
binaryInterfaceVersion :: Word16
-#if (__GLASGOW_HASKELL__ >= 811) && (__GLASGOW_HASKELL__ < 813)
+#if MIN_VERSION_ghc(8,11,0) && !MIN_VERSION_ghc(8,13,0)
binaryInterfaceVersion = 34
binaryInterfaceVersionCompatibility :: [Word16]