shithub: mp3dec

Download patch

ref: 536df87311f7eff28715d4f04115281eb1b98923
parent: 31059cf2904c714dcd0e995efe3b416b7498d483
author: lieff <[email protected]>
date: Sun Jan 28 10:52:52 EST 2018

no need __SSE2__ check for __x86_64__

--- a/minimp3.h
+++ b/minimp3.h
@@ -80,7 +80,7 @@
 #define MINIMP3_MIN(a, b)           ((a) > (b) ? (b) : (a))
 #define MINIMP3_MAX(a, b)           ((a) < (b) ? (b) : (a))
 
-#if !defined(MINIMP3_ONLY_SIMD) && (defined(_M_X64) || defined(_M_ARM64) || (defined(__x86_64__) && defined(__SSE2__)) || defined(__aarch64__))
+#if !defined(MINIMP3_ONLY_SIMD) && (defined(_M_X64) || defined(_M_ARM64) || defined(__x86_64__) || defined(__aarch64__))
 // x64 always have SSE2, arm64 always have neon, no need for generic code
 #define MINIMP3_ONLY_SIMD
 #endif