Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ghc-lib-parser-9.4: add global unique counters patch (#1580)
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
overlays/patches/ghc-lib-parser-9.4-global-unique-counters-in-rts.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/compiler/cbits/genSym.c b/compiler/cbits/genSym.c | ||
index 0897547..8627f5a 100644 | ||
--- a/compiler/cbits/genSym.c | ||
+++ b/compiler/cbits/genSym.c | ||
@@ -9,7 +9,7 @@ | ||
// | ||
// The CPP is thus about the RTS version GHC is linked against, and not the | ||
// version of the GHC being built. | ||
-#if !MIN_VERSION_GLASGOW_HASKELL(9,3,0,0) | ||
+#if !MIN_VERSION_GLASGOW_HASKELL(9,2,0,0) | ||
HsInt ghc_unique_counter = 0; | ||
HsInt ghc_unique_inc = 1; | ||
#endif |