mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	module-profiler: handle undefined max_align_t
This commit is contained in:
		
							parent
							
								
									091b5497a3
								
							
						
					
					
						commit
						c53d8ec3db
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -104,7 +104,11 @@ struct impl {
 | 
			
		|||
	struct spa_source *flush_event;
 | 
			
		||||
	unsigned int listening:1;
 | 
			
		||||
 | 
			
		||||
#ifdef max_align_t
 | 
			
		||||
	alignas(max_align_t)
 | 
			
		||||
#else
 | 
			
		||||
	alignas(64)
 | 
			
		||||
#endif
 | 
			
		||||
	uint8_t flush[FLUSH_BUFFER + sizeof(struct spa_pod_struct)];
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue