Fix 64bit OSX/MacOS builds

This commit is contained in:
Robin Gareus 2019-12-07 15:46:20 +01:00
parent 642bfc4c9a
commit 386f69ae32
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -27,8 +27,11 @@
namespace ARDOUR {
#if defined ( __i386__) || defined (__PPC__)
#define MINIMP3_NO_SIMD // for portability
/* 64bit CPUs always have SSE2, armhf/aarch64 has NEON,
* except apple/OSX does not provide immintrin.h
*/
#if defined ( __i386__) || defined (__PPC__) || defined (__APPLE__)
#define MINIMP3_NO_SIMD // disable for portability
#endif
#define MINIMP3_NONSTANDARD_BUT_LOGICAL