mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-21 05:34:00 -04:00
Remove workaround for posix_fallocate on NetBSD.
posix_fallocate being unimplemented is now handled in the code. Signed-off-by: Nia Alarie <nia@NetBSD.org>
This commit is contained in:
parent
6feba4cd81
commit
01cbf0981b
1 changed files with 1 additions and 5 deletions
|
|
@ -44,16 +44,12 @@ endforeach
|
||||||
have_funcs = [
|
have_funcs = [
|
||||||
'accept4',
|
'accept4',
|
||||||
'mkostemp',
|
'mkostemp',
|
||||||
|
'posix_fallocate',
|
||||||
'prctl',
|
'prctl',
|
||||||
'memfd_create',
|
'memfd_create',
|
||||||
'mremap',
|
'mremap',
|
||||||
'strndup',
|
'strndup',
|
||||||
]
|
]
|
||||||
# NetBSD defines posix_fallocate(), but it's unimplemented for most file
|
|
||||||
# systems as of NetBSD 9.
|
|
||||||
if host_machine.system() != 'netbsd'
|
|
||||||
have_funcs += [ 'posix_fallocate' ]
|
|
||||||
endif
|
|
||||||
foreach f: have_funcs
|
foreach f: have_funcs
|
||||||
config_h.set('HAVE_' + f.underscorify().to_upper(), cc.has_function(f))
|
config_h.set('HAVE_' + f.underscorify().to_upper(), cc.has_function(f))
|
||||||
endforeach
|
endforeach
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue