vcpkg/ports/pffft/fix-invalid-command.patch
Mengna Li ca0f810f4f
[pffft] fix supports (#25403)
* fix supports

* fix invalid command

* update patch
2022-06-24 15:00:50 -07:00

18 lines
524 B
Diff

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