void-packages/srcpkgs/csound/patches/arm.patch

14 lines
403 B
Diff

diff --git OOps/pffft.c OOps/pffft.c
index e9696a7..3163cf8 100644
--- OOps/pffft.c
+++ OOps/pffft.c
@@ -154,7 +154,7 @@ typedef __m128 v4sf;
/*
ARM NEON support macros
*/
-#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(IOS))
+#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__ARM_NEON__) || defined(IOS))
# include <arm_neon.h>
typedef float32x4_t v4sf;
# define SIMD_SZ 4