mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-23 01:40:43 -05: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 = [
|
||||
'accept4',
|
||||
'mkostemp',
|
||||
'posix_fallocate',
|
||||
'prctl',
|
||||
'memfd_create',
|
||||
'mremap',
|
||||
'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
|
||||
config_h.set('HAVE_' + f.underscorify().to_upper(), cc.has_function(f))
|
||||
endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue