mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-27 06:35:04 +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
|
||||
|
||||
#define LOG(x)
|
||||
#define LOGNBR(x)
|
||||
#define LOG(x) while(false) {}
|
||||
#define LOGNBR(x) while(false) {}
|
||||
|
||||
#define ERROR(x)
|
||||
#define ERRORNBR(x)
|
||||
#define ERROR(x) while(false) {}
|
||||
#define ERRORNBR(x) while(false) {}
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user