Fix OSX build

This commit is contained in:
Tim Angus 2014-08-25 12:03:10 -04:00
parent 2a3368481d
commit cf7004ffb2
4 changed files with 8 additions and 7 deletions

View file

@ -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