shithub: dumb

Download patch

ref: 14fd28311496465a320386621132a8e719396786
parent: 78451591f26c2f56692972c438da52ac66e325a1
author: dmitrykos <dmitrykos@neutroncode.com>
date: Thu Dec 14 17:28:20 EST 2017

Enable RESAMPLER_NEON on Windows ARM64 platform.

--- a/src/helpers/resampler.c
+++ b/src/helpers/resampler.c
@@ -13,7 +13,8 @@
 #define RESAMPLER_NEON
 #endif
 #elif (defined(__arm__) && defined(__ARM_NEON__)) || \
-      (defined(_WIN32_WINNT) && (_WIN32_WINNT >= _WIN32_WINNT_WIN8) && defined(_M_ARM))
+      (defined(_WIN32_WINNT) && (_WIN32_WINNT >= _WIN32_WINNT_WIN8) && defined(_M_ARM)) || \
+       defined(_M_ARM64)
 #define RESAMPLER_NEON
 #endif
 #ifdef RESAMPLER_NEON