aboutsummaryrefslogtreecommitdiff
path: root/ports/alac-decoder/no-pragma-warning.patch
blob: 97e2960c8b5bb8351d7df52d0d2aa753a5ab6fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;