mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
build-sys: meson: support memfd without SYS_memfd_create (FreeBSD 13)
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
This commit is contained in:
parent
51fecacd46
commit
e7465e1a9b
1 changed files with 2 additions and 1 deletions
|
|
@ -333,7 +333,8 @@ foreach f : check_functions
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
if cc.has_header_symbol('sys/syscall.h', 'SYS_memfd_create')
|
if cc.has_header_symbol('sys/syscall.h', 'SYS_memfd_create') \
|
||||||
|
or cc.has_function('memfd_create')
|
||||||
cdata.set('HAVE_MEMFD', 1)
|
cdata.set('HAVE_MEMFD', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue