mirror of
https://github.com/xiph/opus.git
synced 2025-05-27 21:59:12 +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*/
|
||||
|
||||
/* make SILK_DEBUG dependent on compiler's _DEBUG */
|
||||
#if defined _WIN32
|
||||
#ifdef _DEBUG
|
||||
#define SILK_DEBUG 1
|
||||
#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
|
||||
/* Set to 1 to enable DEBUG_STORE_DATA() macros for dumping
|
||||
* intermediate signals from the codec.
|
||||
*/
|
||||
#define SILK_DEBUG 0
|
||||
|
||||
/* Flag for using timers */
|
||||
#define SILK_TIC_TOC 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue