yuzu/externals/vcpkg/ports/alac-decoder/no-pragma-warning.patch

15 lines
372 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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;