Skip to content

Commit

Permalink
since 595013d41464c1e328369bb81ce0ea2814e91b68
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher committed Jan 24, 2025
1 parent d47f87c commit 2f50f65
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ghc-lib-gen/src/Ghclibgen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,12 @@ mangleCSymbols ghcFlavor = do
in writeFile file
. prefixSymbol genSym
. prefixSymbol initGenSym
. replace "#if !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)" "#if !MIN_VERSION_GLASGOW_HASKELL(9,8,4,0)"
=<< readFile' file
=<< readFile' file
when (ghcFlavor <= Ghc9121) $
let file = "compiler/cbits/genSym.c"
in writeFile file
. replace "#if !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)" "#if !MIN_VERSION_GLASGOW_HASKELL(9,8,4,0)"
=<< readFile' file
when (ghcFlavor == Ghc984) $
let file = "compiler/cbits/genSym.c"
in writeFile file
Expand Down

0 comments on commit 2f50f65

Please sign in to comment.