From 86071a8a44fe923f4a1d3d9261a8641c28a38334 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Thu, 3 Dec 2020 12:59:27 +0800 Subject: [PATCH] Vorbis: Make sure SSE float-to-int conversion codepath is not taken when compiling for Windows ARM64. --- libs/libvorbis-1.3.5/lib/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libvorbis-1.3.5/lib/os.h b/libs/libvorbis-1.3.5/lib/os.h index 8bc3e5fe..624b0d0e 100644 --- a/libs/libvorbis-1.3.5/lib/os.h +++ b/libs/libvorbis-1.3.5/lib/os.h @@ -148,7 +148,7 @@ static __inline void vorbis_fpu_restore(vorbis_fpu_control fpu){ /* Optimized code path for x86_64 builds. Uses SSE2 intrinsics. This can be done safely because all x86_64 CPUs supports SSE2. */ -#if (defined(_MSC_VER) && defined(_WIN64)) || (defined(__GNUC__) && defined (__x86_64__)) +#if (defined(_MSC_VER) && defined(_M_AMD64)) || (defined(__GNUC__) && defined (__x86_64__)) # define VORBIS_FPU_CONTROL typedef ogg_int16_t vorbis_fpu_control;