From 38a7354ad90a801470b954ea9769b9980cd1f7ad Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 14 Jun 2019 09:32:37 +0200 Subject: [PATCH] Upgrade to compile with WIN32_LEAN_AND_MEAN Signed-off-by: Simon Rozman --- CredWrite/StdAfx.h | 1 + MsiUseFeature/StdAfx.h | 1 + WLANManager/StdAfx.h | 1 + include/Common.props | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CredWrite/StdAfx.h b/CredWrite/StdAfx.h index 537f298..5b7dc63 100644 --- a/CredWrite/StdAfx.h +++ b/CredWrite/StdAfx.h @@ -29,6 +29,7 @@ #include #include // Must include after +#include #include #include diff --git a/MsiUseFeature/StdAfx.h b/MsiUseFeature/StdAfx.h index 1f4453d..f9996e8 100644 --- a/MsiUseFeature/StdAfx.h +++ b/MsiUseFeature/StdAfx.h @@ -27,6 +27,7 @@ #include #include +#include #include #include diff --git a/WLANManager/StdAfx.h b/WLANManager/StdAfx.h index bff2585..116ed83 100644 --- a/WLANManager/StdAfx.h +++ b/WLANManager/StdAfx.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/include/Common.props b/include/Common.props index fc71435..b945d22 100644 --- a/include/Common.props +++ b/include/Common.props @@ -33,7 +33,7 @@ Level4 - _WIN32_WINNT=0x0600;ISOLATION_AWARE_ENABLED=1;SECURITY_WIN32;CERT_CHAIN_PARA_HAS_EXTRA_FIELDS;EAP_TLS=1;wxMSVC_VERSION=$(PlatformToolsetVersion);%(PreprocessorDefinitions) + _WIN32_WINNT=0x0600;ISOLATION_AWARE_ENABLED=1;SECURITY_WIN32;CERT_CHAIN_PARA_HAS_EXTRA_FIELDS;EAP_TLS=1;wxMSVC_VERSION=$(PlatformToolsetVersion);WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions) Use StdAfx.h ProgramDatabase