History

Fix VC++ compilation error for non-x86/64 targets. Visual C++ supports ARM. x86/x64 needs to be explicitly checked before enabling SSE.

David Reid committed 8 years ago

Commit 25e18d01 parent 17c08501 file · +1 −1Browse files

Unified · Split

minimp3.h+1−1
@@ -89,7 +89,7 @@ int mp3dec_decode_frame(mp3dec_t *dec, const unsigned char *mp3, int mp3_bytes, · 88 unmodified lines
89#define MINIMP3_ONLY_SIMD89#define MINIMP3_ONLY_SIMD
90#endif90#endif
91 91
92#if defined(_MSC_VER) || ((defined(__i386__) || defined(__x86_64__)) && defined(__SSE2__))92#if (defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))) || ((defined(__i386__) || defined(__x86_64__)) && defined(__SSE2__))
93#if defined(_MSC_VER)93#if defined(_MSC_VER)
94#include <intrin.h>94#include <intrin.h>
95#endif95#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t