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.
This commit is contained in:
Max Kellermann 2020-11-04 14:38:05 +01:00
parent 4f40b9f7cf
commit e0d3ca71b3
1 changed files with 2 additions and 2 deletions

View File

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