Skip to content

Commit 5dc4779

Browse files
committed
Set default LanguageStandard for C projects to gnu23.
1 parent b8b12b0 commit 5dc4779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdk/build/Vezel.Zig.Sdk.Defaults.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</PropertyGroup>
2424

2525
<PropertyGroup Condition="'$(LanguageStandard)' == ''">
26-
<LanguageStandard Condition="'$(Language)' == 'C'">gnu2x</LanguageStandard>
26+
<LanguageStandard Condition="'$(Language)' == 'C'">gnu23</LanguageStandard>
2727
<LanguageStandard Condition="'$(Language)' == 'Cxx'">gnu++2c</LanguageStandard>
2828
<LanguageStandard Condition="'$(Language)' == 'Zig'">zig</LanguageStandard>
2929
</PropertyGroup>

0 commit comments

Comments
 (0)