vcpkg/ports/pffft/fix-invalid-command.patch

18 lines
524 B
Diff
Raw Normal View History

diff --git a/pffft.c b/pffft.c
index d12f572..7cc0546 100644
--- a/pffft.c
+++ b/pffft.c
@@ -173,7 +173,11 @@ typedef float32x4_t v4sf;
# define VALIGNED(ptr) ((((long long)(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