mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-16 22:05:21 -05:00
meson: explicitly define _POSIX_C_SOURCE
This commit is contained in:
parent
b1b32152c1
commit
718ba1602a
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ is_debug_build = get_option('buildtype').startswith('debug')
|
|||
cc = meson.get_compiler('c')
|
||||
|
||||
add_project_arguments(
|
||||
['-D_GNU_SOURCE=200809L'] + (is_debug_build ? ['-D_DEBUG'] : []) +
|
||||
['-D_POSIX_C_SOURCE=200809L', '-D_GNU_SOURCE=200809L'] +
|
||||
(is_debug_build ? ['-D_DEBUG'] : []) +
|
||||
cc.get_supported_arguments(
|
||||
['-fstrict-aliasing',
|
||||
'-Wstrict-aliasing',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue