1
0
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:
Thomas Harte 2018-10-22 22:37:11 -04:00
parent 1331457314
commit 7eeefd2602

View File

@ -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