mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 21:19:01 +08:00
18 lines
524 B
Diff
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
|