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', ],