mirror of
https://github.com/libAthena/athena.git
synced 2025-07-06 13:16:18 +00:00
Fix remaining MESSAGE enums
This commit is contained in:
parent
e52e9f8dc4
commit
0de254e846
@ -160,7 +160,7 @@ std::ostream& operator<<(std::ostream& os, const Athena::Endian& endian);
|
|||||||
#define atDebug(fmt...) \
|
#define atDebug(fmt...) \
|
||||||
do { atEXCEPTION_HANDLER __handler = atGetExceptionHandler(); \
|
do { atEXCEPTION_HANDLER __handler = atGetExceptionHandler(); \
|
||||||
if (__handler) \
|
if (__handler) \
|
||||||
__handler(Athena::error::MESSAGE, __FILE__, AT_PRETTY_FUNCTION, __LINE__, fmt); \
|
__handler(Athena::error::LevelMessage, __FILE__, AT_PRETTY_FUNCTION, __LINE__, fmt); \
|
||||||
} while(0)
|
} while(0)
|
||||||
#else // _MSC_VER
|
#else // _MSC_VER
|
||||||
#define atDebug(fmt, ...)
|
#define atDebug(fmt, ...)
|
||||||
@ -169,7 +169,7 @@ std::ostream& operator<<(std::ostream& os, const Athena::Endian& endian);
|
|||||||
#define atMessage(fmt...) \
|
#define atMessage(fmt...) \
|
||||||
do { atEXCEPTION_HANDLER __handler = atGetExceptionHandler(); \
|
do { atEXCEPTION_HANDLER __handler = atGetExceptionHandler(); \
|
||||||
if (__handler) \
|
if (__handler) \
|
||||||
__handler(Athena::error::MESSAGE, __FILE__, AT_PRETTY_FUNCTION, __LINE__, fmt); \
|
__handler(Athena::error::LevelMessage, __FILE__, AT_PRETTY_FUNCTION, __LINE__, fmt); \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define atWarning(fmt...) \
|
#define atWarning(fmt...) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user