mirror of
https://github.com/xiph/opus.git
synced 2025-05-15 07:58:29 +00:00
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:
parent
037918a8fe
commit
cb3cc53014
4 changed files with 5 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue