diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-09 01:41:45 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-12-09 04:36:28 +0100 |
commit | cf4aedd97cda528dd77bfce06eb3e46a7382ced1 (patch) | |
tree | 6045bfb10cd7a49268e1f0775d244b340665d986 /src/core | |
parent | Merge pull request #872 from withmorten/sized-enums-miami (diff) | |
download | re3-cf4aedd97cda528dd77bfce06eb3e46a7382ced1.tar re3-cf4aedd97cda528dd77bfce06eb3e46a7382ced1.tar.gz re3-cf4aedd97cda528dd77bfce06eb3e46a7382ced1.tar.bz2 re3-cf4aedd97cda528dd77bfce06eb3e46a7382ced1.tar.lz re3-cf4aedd97cda528dd77bfce06eb3e46a7382ced1.tar.xz re3-cf4aedd97cda528dd77bfce06eb3e46a7382ced1.tar.zst re3-cf4aedd97cda528dd77bfce06eb3e46a7382ced1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/common.h b/src/core/common.h index 9c81cf3b..181389da 100644 --- a/src/core/common.h +++ b/src/core/common.h @@ -251,8 +251,14 @@ void re3_usererror(const char *format, ...); #define DEBUGBREAK() __debugbreak(); -#define debug(f, ...) re3_debug("[DBG]: " f, ## __VA_ARGS__) +// Switch to enable development messages. +#if 1 +#define DEV(f, ...) +#else #define DEV(f, ...) re3_debug("[DEV]: " f, ## __VA_ARGS__) +#endif + +#define debug(f, ...) re3_debug("[DBG]: " f, ## __VA_ARGS__) #define TRACE(f, ...) re3_trace(__FILE__, __LINE__, __FUNCTION__, f, ## __VA_ARGS__) #define Error(f, ...) re3_debug("[ERROR]: " f, ## __VA_ARGS__) #define USERERROR(f, ...) re3_usererror(f, ## __VA_ARGS__) |