Define _POSIX_C_SOURCE globally

See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
This commit is contained in:
Simon Ser 2024-02-16 15:17:18 +01:00 committed by Kirill Primak
parent 07b0598526
commit fc640d5f6c
102 changed files with 2 additions and 100 deletions

View file

@ -14,6 +14,7 @@ project(
add_project_arguments(
[
'-DWLR_USE_UNSTABLE',
'-D_POSIX_C_SOURCE=200809L',
'-Wno-unused-parameter',
'-Wno-unused-result',