Skip to content

Commit 4643c8f

Browse files
committed
Squashed commit of the following:
commit c5b3da1ffe870410b7241b78ff6a88319e98b14d Author: Calvin Rose <calsrose@gmail.com> Date: Fri May 16 18:35:33 2025 -0500 Inter
1 parent a8e2c8e commit 4643c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/capi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ JanetAtomicInt janet_atomic_load(JanetAtomicInt volatile *x) {
591591

592592
JanetAtomicInt janet_atomic_load_relaxed(JanetAtomicInt volatile *x) {
593593
#ifdef _MSC_VER
594-
return _InterlockedOrNoFence(x, 0);
594+
return _InterlockedOr(x, 0);
595595
#elif defined(JANET_USE_STDATOMIC)
596596
return atomic_load_explicit(x, memory_order_relaxed);
597597
#else

0 commit comments

Comments
 (0)