toggle to disable logging resources stuff
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
#include "unit.h"
|
||||
#include "rsc_enum.h"
|
||||
|
||||
#if DEBUG_RSC
|
||||
#define rsc_dbg(fmt, ...) dbg("[RSC] "fmt, ##__VA_ARGS__)
|
||||
#else
|
||||
#define rsc_dbg(fmt, ...)
|
||||
#endif
|
||||
|
||||
#define CHECK_SUC() do { if (!suc) return false; } while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user