Fix LC_DEBUG not working if NDEBUG is defined
This commit is contained in:
parent
634031839c
commit
c01deff683
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ void LimelogWindows(char* Format, ...);
|
|||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
#else
|
||||
#ifdef NDEBUG
|
||||
#undef NDEBUG
|
||||
#endif
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#define LC_ASSERT(x) assert(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue