[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] build-sys: meson: Fix detection of SYS_memfd_create

Arun Raghavan gitlab at gitlab.freedesktop.org
Thu Jun 18 12:27:13 UTC 2020



Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
0547ae49 by Jan Alexander Steffens (heftig) at 2020-06-17T20:01:15+02:00
build-sys: meson: Fix detection of SYS_memfd_create

It's a define resolving to a number, not a function.

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -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
 



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/0547ae49bae02c7a7f593aa4c9b5f0e2358aad91

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/0547ae49bae02c7a7f593aa4c9b5f0e2358aad91
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20200618/e4a98d29/attachment.htm>


More information about the pulseaudio-commits mailing list