mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[winpr,wlog] fix GNU variadic macro
This commit is contained in:
@@ -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, ...) \
|
||||
|
||||
Reference in New Issue
Block a user