[winpr,wlog] fix GNU variadic macro

This commit is contained in:
akallabeth 2024-09-11 20:19:13 +02:00
parent eec69bde0f
commit eb70b1756b
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 7 additions and 7 deletions

View File

@ -134,13 +134,13 @@ extern "C"
__VA_ARGS__); \
} while (0)
#define WLog_Print(_log, _log_level, ...) \
do \
{ \
if (WLog_IsLevelActive(_log, _log_level)) \
{ \
WLog_Print_unchecked(_log, _log_level, ##__VA_ARGS__); \
} \
#define WLog_Print(_log, _log_level, ...) \
do \
{ \
if (WLog_IsLevelActive(_log, _log_level)) \
{ \
WLog_Print_unchecked(_log, _log_level, __VA_ARGS__); \
} \
} while (0)
#define WLog_Print_tag(_tag, _log_level, ...) \