build: set c_std=c99

Set explicitly the C standard to use to make sure we don't use
features not available on our target platforms.

Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
Simon Ser 2022-01-10 14:54:02 +01:00
parent 0d314c4a04
commit 40c275f642

View File

@ -5,7 +5,8 @@ project(
meson_version: '>= 0.52.1',
default_options: [
'warning_level=2',
'buildtype=debugoptimized'
'buildtype=debugoptimized',
'c_std=c99',
]
)
wayland_version = meson.project_version().split('.')