pinos/client/log.h: Fix compiler error

This commit is contained in:
Linus Svensson 2017-02-28 16:13:00 +01:00 committed by Wim Taymans
parent 7b7c6df836
commit 4d3c194491

View file

@ -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); \