build: set c_std=c99
authorSimon Ser <contact@emersion.fr>
Mon, 10 Jan 2022 13:54:02 +0000 (14:54 +0100)
committerSimon Ser <contact@emersion.fr>
Mon, 10 Jan 2022 14:08:46 +0000 (15:08 +0100)
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>
meson.build

index cab267e..e9691ff 100644 (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('.')