mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Fix LC_DEBUG not working if NDEBUG is defined
This commit is contained in:
parent
634031839c
commit
c01deff683
@ -63,6 +63,10 @@ void LimelogWindows(char* Format, ...);
|
|||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#ifdef NDEBUG
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#define LC_ASSERT(x) assert(x)
|
#define LC_ASSERT(x) assert(x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user