Fix compiler issues with c++

This commit is contained in:
Wim Taymans 2018-02-08 10:49:08 +01:00
parent 72e98dc74a
commit f049d3dc7f
8 changed files with 18 additions and 15 deletions

View file

@ -113,7 +113,7 @@ struct spa_log {
#else
#define SPA_LOG_FUNC(name,lev) \
static inline void spa_log_##name (struct spa_log *l, const char *format, ...) \
static inline void spa_log_##name (struct spa_log *l, const char *format, ...) \
{ \
if (SPA_UNLIKELY (spa_log_level_enabled (l, lev))) { \
va_list varargs; \