Skip to content

Commit f2ab76d

Browse files
committed
Fix bela
1 parent ad7323a commit f2ab76d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

vendor/bela.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/fcharlie/bela/tree/60bd8d2fa51ed281b8d9f0fbbcc7af65ff920453
1+
https://github.com/fcharlie/bela/tree/47836da3a358265302f6618180ae6c83aedfca10

vendor/bela/src/belahash/blake3/blake3_dispatch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
#define ATOMIC_LOAD(x) x
3333
#define ATOMIC_STORE(x, y) x = y
3434
#elif defined(_MSC_VER)
35-
#define ATOMIC_INT LONG
36-
#define ATOMIC_LOAD(x) InterlockedOr(&x, 0)
37-
#define ATOMIC_STORE(x, y) InterlockedExchange(&x, y)
35+
#define ATOMIC_INT long
36+
#define ATOMIC_LOAD(x) _InterlockedOr(&x, 0)
37+
#define ATOMIC_STORE(x, y) _InterlockedExchange(&x, y)
3838
#else
3939
#define ATOMIC_INT int
4040
#define ATOMIC_LOAD(x) x

0 commit comments

Comments
 (0)