From 112d2bfe1162cedfc703d0fcf89f915c6ed4257f Mon Sep 17 00:00:00 2001 From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Sat, 7 Sep 2019 21:28:12 +0200 Subject: [PATCH] Removed redundant (and wrong in terms of it's value) definitions for WINVER/_WIN32_WINNT Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> --- shell_integration/windows/OCOverlays/stdafx.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shell_integration/windows/OCOverlays/stdafx.h b/shell_integration/windows/OCOverlays/stdafx.h index 3d94fc641..5eacb4552 100644 --- a/shell_integration/windows/OCOverlays/stdafx.h +++ b/shell_integration/windows/OCOverlays/stdafx.h @@ -13,8 +13,10 @@ */ #define WIN32_LEAN_AND_MEAN -#define WINVER 0x0501 -#define _WIN32_WINNT 0x0501 + +// Note: Here was a #define for windows target version +// e.g. WINVER / _WIN32_WINNT, see https://devblogs.microsoft.com/oldnewthing/20070411-00/?p=27283 +// Unnecessary because we define both in desktop/CMakeLists.txt #include "CommunicationSocket.h" #include "RegistryUtil.h" -- 2.30.2