From b20dfb007d135426567f02eddf06ac45bcc1306f Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Mon, 17 Nov 2025 14:02:34 -0800 Subject: [PATCH] meson: Fix build with Meson < 1.3 Meson before 1.3 didn't support comma-separated lists in c_std. Just require c11 in that case. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 31c73b62b..e0f1c729c 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project( version: files('VERSION'), license: 'MIT', default_options: [ - 'c_std=c11,c99,c89', + meson.version().version_compare('>=1.3.0') ? 'c_std=c11,c99,c89' : 'c_std=c11', 'buildtype=debug', 'warning_level=3', ],