mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05: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
 | 
					#else
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <stdarg.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define PINOS_LOG_FUNC(name,lev)                                                \
 | 
					#define PINOS_LOG_FUNC(name,lev)                                                \
 | 
				
			||||||
static inline void pinos_log_##name (const char *format, ...)                   \
 | 
					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_list varargs;                                                            \
 | 
				
			||||||
    va_start (varargs, format);                                                 \
 | 
					    va_start (varargs, format);                                                 \
 | 
				
			||||||
    pinos_log_logv (lev,__FILE__,__LINE__,__func__,format,varargs);             \
 | 
					    pinos_log_logv (lev,__FILE__,__LINE__,__func__,format,varargs);             \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue