mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pinos/client/log.h: Fix compiler error
This commit is contained in:
parent
7b7c6df836
commit
4d3c194491
1 changed files with 3 additions and 1 deletions
|
|
@ -63,10 +63,12 @@ void pinos_log_logv (SpaLogLevel level,
|
|||
|
||||
#else
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define PINOS_LOG_FUNC(name,lev) \
|
||||
static inline void pinos_log_##name (const char *format, ...) \
|
||||
{ \
|
||||
if (SPA_UNLIKELY (pinos_log_level_enabled (lev))) \
|
||||
if (SPA_UNLIKELY (pinos_log_level_enabled (lev))) { \
|
||||
va_list varargs; \
|
||||
va_start (varargs, format); \
|
||||
pinos_log_logv (lev,__FILE__,__LINE__,__func__,format,varargs); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue