diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2014-09-30 14:40:13 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2014-09-30 14:40:13 -0400 |
commit | 80460334b77d70e665a390503cd8992cdad06c10 (patch) | |
tree | 1d232c84dcdcd993215a48e850586c44000928ac /src/opus_decoder.c | |
parent | 93fe3ce14f9eedff7edda494351c240721b034ec (diff) | |
download | libopus-80460334b77d70e665a390503cd8992cdad06c10.tar.gz |
-DOPUS_WILL_BE_SLOW to disable the no-optimization warning
Diffstat (limited to 'src/opus_decoder.c')
-rw-r--r-- | src/opus_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_decoder.c b/src/opus_decoder.c index 2624e760..79c8af1e 100644 --- a/src/opus_decoder.c +++ b/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(OPUS_WILL_BE_SLOW) # pragma message "You appear to be compiling without optimization, if so opus will be very slow." #endif |