[Git][ghc/ghc][wip/T22010] Fix wrong MIN_VERSION_GLASGOW_HASKELL macros
Jaro Reinders (@Noughtmare)
gitlab at gitlab.haskell.org
Mon Jul 10 07:30:21 UTC 2023
Jaro Reinders pushed to branch wip/T22010 at Glasgow Haskell Compiler / GHC
Commits:
726c9196 by Jaro Reinders at 2023-07-10T09:29:11+02:00
Fix wrong MIN_VERSION_GLASGOW_HASKELL macros
I forgot to change these after rebasing.
- - - - -
1 changed file:
- compiler/cbits/genSym.c
Changes:
=====================================
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,7,0,0)
+#if !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)
HsWord64 ghc_unique_counter64 = 0;
#endif
#if !MIN_VERSION_GLASGOW_HASKELL(9,3,0,0)
@@ -18,7 +18,7 @@ HsInt ghc_unique_inc = 1;
// This function has been added to the RTS. Here we pessimistically assume
// that a threaded RTS is used. This function is only used for bootstrapping.
-#if !MIN_VERSION_GLASGOW_HASKELL(9,7,0,0)
+#if !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)
EXTERN_INLINE StgWord64
atomic_inc64(StgWord64 volatile* p, StgWord64 incr)
{
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/726c91961a0ab2a3ed22ade6c161c837ac3d4756
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/726c91961a0ab2a3ed22ade6c161c837ac3d4756
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230710/2b1b9ed6/attachment.html>
More information about the ghc-commits
mailing list