Skip to content

Commit

Permalink
Correctly fix VS 16.10 UCRT issue (microsoft#1813) (microsoft#1815)
Browse files Browse the repository at this point in the history
* Correctly fix VS 16.10 UCRT issue

* Fix end of line
  • Loading branch information
ThadHouse authored Jul 13, 2021
1 parent fd16f98 commit aaf41c0
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 7 deletions.
3 changes: 3 additions & 0 deletions src/bin/winkernel/msquic.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/bin/winkernel/msquicpriv.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/core/core.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@
<OutDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\bin\</OutDir>
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
7 changes: 0 additions & 7 deletions src/inc/quic_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ Supported Environments:

#pragma once

//
// Due to a bug in VS 16.10, we need to disable stdio inlining
// Remove this once that bug is fixed
//
#ifdef _KERNEL_MODE
#define _NO_CRT_STDIO_INLINE
#endif
#include <stddef.h>

#define IS_POWER_OF_TWO(x) (((x) != 0) && (((x) & ((x) - 1)) == 0))
Expand Down
3 changes: 3 additions & 0 deletions src/manifest/manifest.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<OutDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\lib\</OutDir>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(SolutionDir)build\clog;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/perf/bin/performance.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\lib;..\..;..\..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/perf/lib/perflib.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<OutDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\bin\</OutDir>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\;..\..\inc;..\..\..\submodules\wil\include;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/platform/platform.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<OutDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\bin\</OutDir>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/test/bin/winkernel/msquictest.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\..;..\..\..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/test/bin/winkernel/msquictestpriv.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\..;..\..\..\inc;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 3 additions & 0 deletions src/test/lib/testlib.kernel.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
<IntDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\obj\$(ProjectName)\</IntDir>
<OutDir>$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\bin\</OutDir>
</PropertyGroup>
<PropertyGroup>
<ExternalIncludePath />
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\;..\..\inc;..\..\..\submodules\wil\include;$(SolutionDir)build\winkernel\$(Platform)_$(Configuration)_schannel\inc;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down

0 comments on commit aaf41c0

Please sign in to comment.