mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Don't define memfd_create() and USE_MEMFD on FreeBSD.
This commit is contained in:
		
							parent
							
								
									9ab4e39704
								
							
						
					
					
						commit
						0a21c61ed0
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -43,9 +43,11 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define NAME "mempool"
 | 
					#define NAME "mempool"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef __FreeBSD__
 | 
				
			||||||
#define USE_MEMFD
 | 
					#define USE_MEMFD
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_MEMFD_CREATE
 | 
					#if defined(USE_MEMFD) && !defined(HAVE_MEMFD_CREATE)
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * No glibc wrappers exist for memfd_create(2), so provide our own.
 | 
					 * No glibc wrappers exist for memfd_create(2), so provide our own.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue