| ... | @@ -39,7 +39,7 @@ pub fn buildStaticLib(comp: *Compilation) !void { | ... | @@ -39,7 +39,7 @@ pub fn buildStaticLib(comp: *Compilation) !void { |
| 39 | | 39 | |
| 40 | switch (Compilation.classifyFileExt(unwind_src)) { | 40 | switch (Compilation.classifyFileExt(unwind_src)) { |
| 41 | .c => { | 41 | .c => { |
| 42 | try cflags.append("-std=c99"); | 42 | try cflags.append("-std=c11"); |
| 43 | }, | 43 | }, |
| 44 | .cpp => { | 44 | .cpp => { |
| 45 | try cflags.appendSlice(&[_][]const u8{ | 45 | try cflags.appendSlice(&[_][]const u8{ |