mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Include semicolon in macro.
Otherwise we'd have to leave empty statements throughout the code when traceback is disabled.
This commit is contained in:
parent
7efe523843
commit
faf0aea78e
@ -559,13 +559,13 @@ enum EntityType
|
||||
* EVENT TRACEBACK
|
||||
*/
|
||||
#if defined(_DEBUG) || defined(SQMOD_ENABLE_SV_EV_TRACEBACK)
|
||||
#define SQMOD_SV_EV_TRACEBACK(m, ...) LogDbg(m, ##__VA_ARGS__)
|
||||
#define SQMOD_SV_EV_TRACEBACK(m, ...) LogDbg(m, ##__VA_ARGS__);
|
||||
#else
|
||||
#define SQMOD_SV_EV_TRACEBACK(m, ...) /*ignored...*/
|
||||
#endif // _DEBUG
|
||||
|
||||
#if defined(_DEBUG) || defined(SQMOD_ENABLE_CO_EV_TRACEBACK)
|
||||
#define SQMOD_CO_EV_TRACEBACK(m, ...) LogSDbg(m, ##__VA_ARGS__)
|
||||
#define SQMOD_CO_EV_TRACEBACK(m, ...) LogSDbg(m, ##__VA_ARGS__);
|
||||
#else
|
||||
#define SQMOD_CO_EV_TRACEBACK(m, ...) /*ignored...*/
|
||||
#endif // _DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user