aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-09-16 20:11:53 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2021-09-16 20:11:53 +0000
commit25967e421f96ea4a5b1f9cf8bf4c5a51025d16e1 (patch)
tree35abe2623970c8922c1996472e7e278b322da046
parentapi: support MinGW in distributed header (diff)
downloadwireguard-nt-25967e421f96ea4a5b1f9cf8bf4c5a51025d16e1.tar.xz
wireguard-nt-25967e421f96ea4a5b1f9cf8bf4c5a51025d16e1.zip
driver: remove _NO_CRT_STDIO_INLINE workaround
This was only present in 16.10. EWDK is at 16.9 and VS is now at 16.11. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--TODO.md2
-rw-r--r--driver/driver.vcxproj2
2 files changed, 1 insertions, 3 deletions
diff --git a/TODO.md b/TODO.md
index 33d6323..35ec389 100644
--- a/TODO.md
+++ b/TODO.md
@@ -30,8 +30,6 @@ choose the right behavior in this case.
## Bug workarounds
-### Remove `_NO_CRT_STDIO_INLINE` once WDK is fixed
-
### Remove MTU polling
When NotifyIpInterfaceChange is fixed for MTU changes, adjust the dwBuildNumber
check for the workaround thread polling.
diff --git a/driver/driver.vcxproj b/driver/driver.vcxproj
index e074df9..47fa11a 100644
--- a/driver/driver.vcxproj
+++ b/driver/driver.vcxproj
@@ -17,7 +17,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
- <PreprocessorDefinitions>NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS683_MINIPORT=1;NDIS_WDM=1;POOL_ZERO_DOWN_LEVEL_SUPPORT;POOL_NX_OPTIN=1;_NO_CRT_STDIO_INLINE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>NDIS_MINIPORT_DRIVER=1;NDIS620_MINIPORT=1;NDIS683_MINIPORT=1;NDIS_WDM=1;POOL_ZERO_DOWN_LEVEL_SUPPORT;POOL_NX_OPTIN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(SDVHacks)'=='true'">SDV_HACKS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/volatile:iso %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>4100;4200;4201;$(DisableSpecificWarnings)</DisableSpecificWarnings>