Files
vcpkg/ports/pffft/fix-invalid-command.patch
2026-01-14 18:00:06 -08:00

18 lines
521 B
Diff

diff --git a/pffft.c b/pffft.c
index ad905fd..df6ed31 100644
--- a/pffft.c
+++ b/pffft.c
@@ -192,7 +192,11 @@ typedef float32x4_t v4sf;
# define VALIGNED(ptr) ((((size_t)(ptr)) & 0x3) == 0)
#else
# if !defined(PFFFT_SIMD_DISABLE)
-# warning "building with simd disabled !\n";
+# ifdef COMPILER_MSVC
+# pragma message ("building with simd disabled !\n");
+# else
+# warning "building with simd disabled !\n";
+# endif
# define PFFFT_SIMD_DISABLE // fallback to scalar code
# endif
#endif