summaryrefslogtreecommitdiff
path: root/src/opus-1.1
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2014-08-25 12:03:10 -0400
committerTim Angus <tim@ngus.net>2014-08-28 11:20:28 +0100
commitf8f2e0745aaf6d916ad28a9b6cf73b73905c5042 (patch)
treeeb2a3f87d33fa9322bc78f066321c4ac9968b746 /src/opus-1.1
parent1593f5c3bf2286072ec1534a78658bd39b022d97 (diff)
Fix OSX build
Diffstat (limited to 'src/opus-1.1')
-rw-r--r--src/opus-1.1/src/opus_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus-1.1/src/opus_decoder.c b/src/opus-1.1/src/opus_decoder.c
index 919ba521..4d03770d 100644
--- a/src/opus-1.1/src/opus_decoder.c
+++ b/src/opus-1.1/src/opus_decoder.c
@@ -33,7 +33,7 @@
# error "OPUS_BUILD _MUST_ be defined to build Opus. This probably means you need other defines as well, as in a config.h. See the included build files for details."
#endif
-#if defined(__GNUC__) && (__GNUC__ >= 2) && !defined(__OPTIMIZE__)
+#if defined(__GNUC__) && (__GNUC__ >= 2) && !defined(__OPTIMIZE__) && !defined(__APPLE__)
# pragma message "You appear to be compiling without optimization, if so opus will be very slow."
#endif