Commit eca862ff authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

contribs: Fix mpcdec build with MSVC

parent 13c9aa1c
--- musepack.clean/libmpcpsy/psy_tab.c 2014-12-03 15:25:37.877616700 +0100
+++ musepack/libmpcpsy/psy_tab.c 2014-12-03 15:20:59.300071300 +0100
@@ -186,7 +187,7 @@
}
}
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 1800
static double
asinh ( double x )
{
......@@ -28,6 +28,9 @@ musepack: musepack_src_r$(MUSE_REV).tar.gz .sum-mpcdec
$(UNPACK)
$(APPLY) $(SRC)/mpcdec/musepack-no-cflags-clobber.patch
$(APPLY) $(SRC)/mpcdec/musepack-no-binaries.patch
ifdef HAVE_VISUALSTUDIO
$(APPLY) $(SRC)/mpcdec/musepack-asinh-msvc.patch
endif
sed -i.orig \
-e 's,^add_subdirectory(mpcgain),,g' \
-e 's,^add_subdirectory(mpcchap),,g' \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment