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
parent 541e6e260c
commit 25af8efbdb
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',