diff options
Diffstat (limited to 'yage/core/loglevel.h')
-rw-r--r-- | yage/core/loglevel.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/yage/core/loglevel.h b/yage/core/loglevel.h index 2247375d..bb115bbf 100644 --- a/yage/core/loglevel.h +++ b/yage/core/loglevel.h @@ -28,8 +28,20 @@ enum class LogLevel { /// Warning message. WARNING, +#ifdef _WIN32 +#ifdef ERROR +#define YAGE_ERROR_TMP ERROR +#undef ERROR +#endif +#endif /// Error message. ERROR, +#ifdef _WIN32 +#ifdef YAGE_ERROR_TMP +#define ERROR YAGE_ERROR_TMP +#undef YAGE_ERROR_TMP +#endif +#endif /// Fatal message that should be output when the game /// crashes. |