mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-16 22:05:55 -05:00
build: use C23/C11 if available
C23 is more strict than previous standards, use it if available. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
99638501a1
commit
f9295d357d
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ project(
|
|||
default_options: [
|
||||
'warning_level=2',
|
||||
'buildtype=debugoptimized',
|
||||
'c_std=c99',
|
||||
'c_std=' + (meson.version().version_compare('>=1.3.0') ? 'c23,c11,c99' : 'c99'),
|
||||
]
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue