shithub: opus

Download patch

ref: 799b1700a578878d72e78f041e1444517d28e923
parent: 265b6b11a3bdac5356f137d361123f05a6d3b827
author: Ralph Giles <[email protected]>
date: Thu Nov 29 06:40:04 EST 2012

Improve the !OPUS_BUILD #error.

The README doesn't say anything about this particular define.
Refer people to config.h and the other build files for examples.

--- a/src/opus_decoder.c
+++ b/src/opus_decoder.c
@@ -30,7 +30,7 @@
 #endif
 
 #ifndef OPUS_BUILD
-#error "OPUS_BUILD _MUST_ be defined to build Opus and you probably want a decent config.h, see README for more details."
+#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
 
 #include <stdarg.h>