diff options
author | Ralph Giles <giles@mozilla.com> | 2011-11-29 23:29:39 +0400 |
---|---|---|
committer | Ralph Giles <giles@mozilla.com> | 2012-03-06 05:09:53 +0400 |
commit | cb3cc53014b0d0bc01a64808ebda8eb959f60397 (patch) | |
tree | 3159f4128129c8adcd7761bf903e577a41a106d9 /celt/fixed_debug.h | |
parent | 037918a8fe31469fe69c607a9e4a68caaf9a4e6d (diff) |
Fix --enable-fixed-point-debug.
Use the celt_mips defined in fixed_debug.h from the unit tests
by defining CELT_C earlier. We must export celt_mips so it can
be used by clients calling the library, like opus_custom_demo.
Diffstat (limited to 'celt/fixed_debug.h')
-rw-r--r-- | celt/fixed_debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/celt/fixed_debug.h b/celt/fixed_debug.h index bce02961..5408d904 100644 --- a/celt/fixed_debug.h +++ b/celt/fixed_debug.h @@ -35,7 +35,8 @@ #include <stdio.h> #ifdef CELT_C -long long celt_mips=0; +#include "opus_defines.h" +OPUS_EXPORT long long celt_mips=0; #else extern long long celt_mips; #endif |