mirror of
https://github.com/xiph/opus.git
synced 2025-05-29 06:39:15 +00:00
Remove SILK_DEBUG define when _WIN32 and _DEBUG are defined.
This was just enabling commented-out code, setting a fixed default removes dead code.
This commit is contained in:
parent
3fdfcd4045
commit
4dde082d2c
1 changed files with 4 additions and 17 deletions
21
silk/debug.h
21
silk/debug.h
|
@ -39,23 +39,10 @@ extern "C"
|
||||||
|
|
||||||
unsigned long GetHighResolutionTime(void); /* O time in usec*/
|
unsigned long GetHighResolutionTime(void); /* O time in usec*/
|
||||||
|
|
||||||
/* make SILK_DEBUG dependent on compiler's _DEBUG */
|
/* Set to 1 to enable DEBUG_STORE_DATA() macros for dumping
|
||||||
#if defined _WIN32
|
* intermediate signals from the codec.
|
||||||
#ifdef _DEBUG
|
*/
|
||||||
#define SILK_DEBUG 1
|
#define SILK_DEBUG 0
|
||||||
#else
|
|
||||||
#define SILK_DEBUG 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* overrule the above */
|
|
||||||
#if 0
|
|
||||||
/* #define NO_ASSERTS*/
|
|
||||||
#undef SILK_DEBUG
|
|
||||||
#define SILK_DEBUG 1
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#define SILK_DEBUG 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Flag for using timers */
|
/* Flag for using timers */
|
||||||
#define SILK_TIC_TOC 0
|
#define SILK_TIC_TOC 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue