mirror of
https://github.com/love2d/megasource.git
synced 2026-08-20 12:40:06 +02:00
Vorbis: Make sure SSE float-to-int conversion codepath is not taken when compiling for Windows ARM64.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user