mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-05 08:26:28 +00:00
Ensures LOGs look like statements even in release builds.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user