mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:19:08 +08:00
c10a2b5e95
* [blake3] update to 1.5.0 * [blake3] update to 1.5.0 * fix deps
14 lines
442 B
Diff
14 lines
442 B
Diff
diff --git a/c/blake3_dispatch.c b/c/blake3_dispatch.c
|
|
index af6c3da..dce85b4 100644
|
|
--- a/c/blake3_dispatch.c
|
|
+++ b/c/blake3_dispatch.c
|
|
@@ -31,7 +31,7 @@
|
|
#define ATOMIC_INT _Atomic int
|
|
#define ATOMIC_LOAD(x) x
|
|
#define ATOMIC_STORE(x, y) x = y
|
|
-#elif defined(_MSC_VER)
|
|
+#elif defined(IS_X86) and defined(_MSC_VER)
|
|
#define ATOMIC_INT LONG
|
|
#define ATOMIC_LOAD(x) InterlockedOr(&x, 0)
|
|
#define ATOMIC_STORE(x, y) InterlockedExchange(&x, y)
|