From e0d3ca71b3b798f7371d11088ccd6015bd3de55a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 4 Nov 2020 14:38:05 +0100 Subject: [PATCH] meson.build: switch to C11 It's been 9 years already, and there's no point in insisting on the 21 year old C standard. MPD doesn't have a lot of C code left, but why not compile it with the latest language revision. --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index a98271484..409f7b3c7 100644 --- a/meson.build +++ b/meson.build @@ -4,8 +4,8 @@ project( version: '0.22.2', meson_version: '>= 0.49.0', default_options: [ - 'c_std=c99', - 'build.c_std=c99', + 'c_std=c11', + 'build.c_std=c11', 'cpp_std=c++17', 'build.cpp_std=c++17', 'warning_level=3',