mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-14 08:56:34 -05:00
build-sys: meson: Fix detection of SYS_memfd_create
It's a define resolving to a number, not a function.
This commit is contained in:
parent
b2d3399793
commit
0547ae49ba
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ foreach f : check_functions
|
|||
endif
|
||||
endforeach
|
||||
|
||||
if cc.has_function('SYS_memfd_create', prefix : '#include <sys/syscall.h>')
|
||||
if cc.has_header_symbol('sys/syscall.h', 'SYS_memfd_create')
|
||||
cdata.set('HAVE_MEMFD', 1)
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue