[winpr,wlog] fix GNU variadic macro

This commit is contained in:
akallabeth
2024-09-11 20:19:13 +02:00
parent eec69bde0f
commit eb70b1756b

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, ...) \