forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[blake3] update to 1.5.0 (microsoft#34065)
* [blake3] update to 1.5.0 * [blake3] update to 1.5.0 * fix deps
- Loading branch information
Showing
5 changed files
with
23 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
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) |
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
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
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
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