From: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> Date: Sat, 7 Sep 2019 19:26:40 +0000 (+0200) Subject: Removed redundant (and wrong in terms of it's value) definitions for WINVER/_WIN32_WINNT X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~650^2~36 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=69a11a7ec11b720f3c70b40259d56ede785c9b94;p=nextcloud-desktop.git 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> --- 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