diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/allegro5/msvc-arm64-atomic.patch | |
Diffstat (limited to 'vcpkg/ports/allegro5/msvc-arm64-atomic.patch')
| -rw-r--r-- | vcpkg/ports/allegro5/msvc-arm64-atomic.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/allegro5/msvc-arm64-atomic.patch b/vcpkg/ports/allegro5/msvc-arm64-atomic.patch new file mode 100644 index 0000000..7b8a074 --- /dev/null +++ b/vcpkg/ports/allegro5/msvc-arm64-atomic.patch @@ -0,0 +1,13 @@ +diff --git a/include/allegro5/internal/aintern_atomicops.h b/include/allegro5/internal/aintern_atomicops.h +index 5054552..a4310f1 100644 +--- a/include/allegro5/internal/aintern_atomicops.h ++++ b/include/allegro5/internal/aintern_atomicops.h +@@ -49,7 +49,7 @@ + return old - 1; + }) + +-#elif defined(_MSC_VER) && _M_IX86 >= 400 ++#elif defined(_MSC_VER) && (_M_IX86 >= 400 || defined(_M_ARM64)) + + /* MSVC, x86 */ + /* MinGW supports these too, but we already have asm code above. */ |