summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-11-04 14:38:05 +0100
committerMax Kellermann <max@musicpd.org>2020-11-04 14:38:58 +0100
commite0d3ca71b3b798f7371d11088ccd6015bd3de55a (patch)
treecc9962332c2541e81167ecbe2defd5d916aefc34 /meson.build
parent4f40b9f7cfd1e83f043077da51541546d6c9708a (diff)
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.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files 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',