mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04: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"
|
||||
|
||||
#ifndef __FreeBSD__
|
||||
#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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue