diff options
Diffstat (limited to 'vcpkg/ports/blake3/fix-windows-arm-build-error.patch')
| -rw-r--r-- | vcpkg/ports/blake3/fix-windows-arm-build-error.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/blake3/fix-windows-arm-build-error.patch b/vcpkg/ports/blake3/fix-windows-arm-build-error.patch new file mode 100644 index 0000000..2296275 --- /dev/null +++ b/vcpkg/ports/blake3/fix-windows-arm-build-error.patch @@ -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) && defined(_MSC_VER) + #define ATOMIC_INT LONG + #define ATOMIC_LOAD(x) InterlockedOr(&x, 0) + #define ATOMIC_STORE(x, y) InterlockedExchange(&x, y) |