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.
This commit is contained in:
Ralph Giles 2011-11-29 11:29:39 -08:00
parent 037918a8fe
commit cb3cc53014
4 changed files with 5 additions and 12 deletions

View file

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