Vorbis: Make sure SSE float-to-int conversion codepath is not taken when compiling for Windows ARM64.

This commit is contained in:
Miku AuahDark
2020-12-03 12:59:27 +08:00
parent 886724eb94
commit 86071a8a44
+1 -1
View File
@@ -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 /* Optimized code path for x86_64 builds. Uses SSE2 intrinsics. This can be
done safely because all x86_64 CPUs supports SSE2. */ 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 # define VORBIS_FPU_CONTROL
typedef ogg_int16_t vorbis_fpu_control; typedef ogg_int16_t vorbis_fpu_control;