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/soxr/003_detect_arm.patch | |
Diffstat (limited to 'vcpkg/ports/soxr/003_detect_arm.patch')
| -rw-r--r-- | vcpkg/ports/soxr/003_detect_arm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/soxr/003_detect_arm.patch b/vcpkg/ports/soxr/003_detect_arm.patch new file mode 100644 index 0000000..90d3fd2 --- /dev/null +++ b/vcpkg/ports/soxr/003_detect_arm.patch @@ -0,0 +1,13 @@ +diff --git a/src/pffft.c b/src/pffft.c +index 0686bef..e4cb094 100644 +--- a/src/pffft.c ++++ b/src/pffft.c +@@ -157,7 +157,7 @@ typedef __m128 v4sf; + /* + ARM NEON support macros + */ +-#elif !defined(PFFFT_SIMD_DISABLE) && defined(__arm__) ++#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(_M_ARM) || defined(__aarch64__)) + # include <arm_neon.h> + typedef float32x4_t v4sf; + # define SIMD_SZ 4 |