Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2014-09-30 22:40:13 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2014-09-30 22:40:13 +0400
commit80460334b77d70e665a390503cd8992cdad06c10 (patch)
tree1d232c84dcdcd993215a48e850586c44000928ac /src
parent93fe3ce14f9eedff7edda494351c240721b034ec (diff)
-DOPUS_WILL_BE_SLOW to disable the no-optimization warning
Diffstat (limited to 'src')
-rw-r--r--src/opus_decoder.c2
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