[alac-decoder] Fix x64

This commit is contained in:
Robert Schumacher 2018-03-07 10:14:02 -08:00
parent 03deecdf20
commit 76f647feb1
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,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;

View File

@ -15,6 +15,7 @@ vcpkg_apply_patches(
SOURCE_PATH ${SOURCE_PATH}
PATCHES
${CMAKE_CURRENT_LIST_DIR}/remove_stdint_headers.patch
${CMAKE_CURRENT_LIST_DIR}/no-pragma-warning.patch
)
vcpkg_configure_cmake(