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