Commit 90e2d5ee769eeb699d4358221258d9689a30ec2f

Ran Benita 2021-03-30T20:08:42

build: require C11 I'd really like to use anonymous unions/structs. Supposedly even MSVC supports it now. Let's try and see. Signed-off-by: Ran Benita <ran@unusedvar.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/meson.build b/meson.build
index 18d16c0..2b0c8aa 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
     'c',
     version: '1.1.0',
     default_options: [
-        'c_std=c99',
+        'c_std=c11',
         'warning_level=2',
         'b_lundef=true',
     ],