Fix the compiling errors on msvc ARM64 configuration.
authorMinmin Gong <gongminmin@msn.com>
Thu, 5 Jul 2018 04:37:54 +0000 (21:37 -0700)
committerThomas Daede <daede003@umn.edu>
Thu, 5 Jul 2018 17:30:04 +0000 (10:30 -0700)
lib/os.h

index 416a401..e098926 100644 (file)
--- a/lib/os.h
+++ b/lib/os.h
@@ -120,7 +120,7 @@ static inline int vorbis_ftoi(double f){  /* yes, double!  Otherwise,
 /* MSVC inline assembly. 32 bit only; inline ASM isn't implemented in the
  * 64 bit compiler and doesn't work on arm. */
 #if defined(_MSC_VER) && !defined(_WIN64) && \
-      !defined(_WIN32_WCE) && !defined(_M_ARM)
+      !defined(_WIN32_WCE) && !defined(_M_ARM) && !defined(_M_ARM64)
 #  define VORBIS_FPU_CONTROL
 
 typedef ogg_int16_t vorbis_fpu_control;