From aac9d5057fd2783faf8abb5a855873127ab3d466 Mon Sep 17 00:00:00 2001 From: zack Date: Fri, 8 Jun 2018 12:21:04 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20meson=20error:=20=E2=80=98for=E2=80=99=20?= =?UTF-8?q?loop=20initial=20declarations=20are=20only=20allowed=20in=20C99?= =?UTF-8?q?=20mode.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b2a27a57..b68ee4cb 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('scrcpy', 'c', meson_version: '>= 0.37') +project('scrcpy', 'c', meson_version: '>= 0.37', default_options : 'c_std=c99') if get_option('build_app') subdir('app')