From 4fad1607ed694e126a04fc7d79fa2b11f76232c1 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sun, 11 Jun 2017 23:53:03 +0200 Subject: [PATCH] Meson: use gnu99 We use variable init in for loops, so need c99. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 4ac6c3173..dc59d067d 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,7 @@ project('raylib', 'c', version: '1.7.0', license: 'zlib', - meson_version: '>= 0.39.1') + meson_version: '>= 0.39.1', + default_options : 'c_std=gnu99') cc = meson.get_compiler('c')