aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pffft/fix-invalid-command.patch
blob: ddb69883e0ee815f8dc2596b2e1a9aede741aef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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