mirror of https://github.com/FreeRDP/FreeRDP
[winpr,wlog] fix GNU variadic macro
This commit is contained in:
parent
eec69bde0f
commit
eb70b1756b
|
@ -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, ...) \
|
||||
|
|
Loading…
Reference in New Issue