From 69a11a7ec11b720f3c70b40259d56ede785c9b94 Mon Sep 17 00:00:00 2001 From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Sat, 7 Sep 2019 21:26:40 +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/OCContextMenu/targetver.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shell_integration/windows/OCContextMenu/targetver.h b/shell_integration/windows/OCContextMenu/targetver.h index ce2bc7493..e233d3572 100644 --- a/shell_integration/windows/OCContextMenu/targetver.h +++ b/shell_integration/windows/OCContextMenu/targetver.h @@ -5,6 +5,8 @@ // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. -#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 -- 2.39.5