mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-22 01:40:49 -05:00
meson.build: Only set -D_POSIX_C_SOURCE=200809L on Linux.
Signed-off-by: Nia Alarie <nia@NetBSD.org>
This commit is contained in:
parent
3466f4667c
commit
725d5bbbee
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ config_h.set_quoted('PACKAGE', meson.project_name())
|
|||
config_h.set_quoted('PACKAGE_VERSION', meson.project_version())
|
||||
|
||||
cc_args = []
|
||||
if not host_machine.system().contains('bsd')
|
||||
if host_machine.system() == 'linux'
|
||||
cc_args += ['-D_POSIX_C_SOURCE=200809L']
|
||||
endif
|
||||
add_project_arguments(cc_args, language: 'c')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue