pineapple/externals/vcpkg/ports/alac-decoder/no-pragma-warning.patch
2022-07-23 03:01:36 +02:00

14 lines
372 B
Diff
Executable file

diff --git a/alac.c b/alac.c
index b829e29..8e8805f 100644
--- a/alac.c
+++ b/alac.c
@@ -284,7 +284,9 @@ static int count_leading_zeros(int input)
return output;
}
#else
+#if !defined(_MSC_VER)
#warning using generic count leading zeroes. You may wish to write one for your CPU / compiler
+#endif
static int count_leading_zeros(int input)
{
int output = 0;