summaryrefslogtreecommitdiffstats
path: root/mp3lib/sr1.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp3lib/sr1.c')
-rw-r--r--mp3lib/sr1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mp3lib/sr1.c b/mp3lib/sr1.c
index e5e6395290..3847e8e6b5 100644
--- a/mp3lib/sr1.c
+++ b/mp3lib/sr1.c
@@ -31,6 +31,11 @@
#include "libvo/fastmemcpy.h"
+// Can't compile MMX assembly on Darwin
+#ifdef SYS_DARWIN
+#undef HAVE_MMX
+#endif /* SYS_DARWIN */
+
#ifdef ARCH_X86_32
#define CAN_COMPILE_X86_ASM
#endif