fix link error with msvc in C mode (issue #1030)

This commit is contained in:
daanx 2025-03-10 12:17:46 -07:00
parent 2fc6b14bab
commit 4aae566191
2 changed files with 8 additions and 1 deletions

View file

@ -308,7 +308,7 @@
<WholeProgramOptimization>false</WholeProgramOptimization>
<BufferSecurityCheck>false</BufferSecurityCheck>
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
<CompileAs>CompileAsCpp</CompileAs>
<CompileAs>CompileAsC</CompileAs>
<IntrinsicFunctions>true</IntrinsicFunctions>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>