mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-10 08:31:34 +00:00
Ensures LOGs look like statements even in release builds.
This commit is contained in:
parent
1331457314
commit
7eeefd2602
@ -11,11 +11,11 @@
|
|||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
|
||||||
#define LOG(x)
|
#define LOG(x) while(false) {}
|
||||||
#define LOGNBR(x)
|
#define LOGNBR(x) while(false) {}
|
||||||
|
|
||||||
#define ERROR(x)
|
#define ERROR(x) while(false) {}
|
||||||
#define ERRORNBR(x)
|
#define ERRORNBR(x) while(false) {}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user