shithub: mp3dec

Download patch

ref: 82553bff3ef9e3750ec1f16b74e0d7c0b1b4d5fa
parent: 17c0850b5451383a1d7a9a27c226d6e30e32fd42
parent: 25e18d08fbcd737923592acbeb3341cb3c140ff4
author: Lion <lieff@users.noreply.github.com>
date: Fri Apr 20 15:52:22 EDT 2018

Merge pull request #22 from mackron/patch-1
Fix VC++ compilation error for non-x86/64 targets.

--- a/minimp3.h
+++ b/minimp3.h
@@ -89,7 +89,7 @@
 #define MINIMP3_ONLY_SIMD
 #endif
 
-#if defined(_MSC_VER) || ((defined(__i386__) || defined(__x86_64__)) && defined(__SSE2__))
+#if (defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))) || ((defined(__i386__) || defined(__x86_64__)) && defined(__SSE2__))
 #if defined(_MSC_VER)
 #include <intrin.h>
 #endif