mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	cpu: add fallback dummy init() function
If the CPU is unknown, make an empty init() function or else we get undefined symbols.
This commit is contained in:
		
							parent
							
								
									4e8d85da2f
								
							
						
					
					
						commit
						102a3a3fe0
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -60,6 +60,8 @@ struct impl {
 | 
				
			||||||
# elif defined (__arm__) || defined (__aarch64__)
 | 
					# elif defined (__arm__) || defined (__aarch64__)
 | 
				
			||||||
#include "cpu-arm.c"
 | 
					#include "cpu-arm.c"
 | 
				
			||||||
#define init(t)	arm_init(t)
 | 
					#define init(t)	arm_init(t)
 | 
				
			||||||
 | 
					# else
 | 
				
			||||||
 | 
					#define init(t)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static uint32_t
 | 
					static uint32_t
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue