diff options
author | Vinson Lee <[email protected]> | 2017-11-28 23:16:58 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2017-11-30 01:36:46 -0800 |
commit | 8c1e4b1afc8d396ccf99c725c59b29a9aa305557 (patch) | |
tree | 3bd90a7b061103b8263a33dd9138f1bec52fd8c7 /meson.build | |
parent | 8620f7ebbc763dc1bbbc825d31cacfdd84433e05 (diff) |
anv: Check if memfd_create is already defined.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103909
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index e2ba3cb0524..4a2e817f0fa 100644 --- a/meson.build +++ b/meson.build @@ -617,7 +617,7 @@ foreach h : ['xlocale.h', 'sys/sysctl.h', 'linux/futex.h'] endif endforeach -foreach f : ['strtof', 'mkostemp', 'posix_memalign', 'timespec_get'] +foreach f : ['strtof', 'mkostemp', 'posix_memalign', 'timespec_get', 'memfd_create'] if cc.has_function(f) pre_args += '-DHAVE_@0@'.format(f.to_upper()) endif |