diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx index 3c904ac3b3b2..26ce7085f3e4 100644 --- a/desktop/source/app/cmdlinehelp.cxx +++ b/desktop/source/app/cmdlinehelp.cxx @@ -27,10 +27,6 @@ #include "cmdlinehelp.hxx" #ifdef _WIN32 -#if _WIN32_WINNT < 0x0501 -// For AttachConsole() and MAPVK_VK_TO_VSC -#define _WIN32_WINNT 0x0501 -#endif #include "windows.h" #include "io.h" #include "fcntl.h" diff --git a/desktop/win32/source/officeloader/officeloader.cxx b/desktop/win32/source/officeloader/officeloader.cxx index 25f35374e119..e841e8769328 100644 --- a/desktop/win32/source/officeloader/officeloader.cxx +++ b/desktop/win32/source/officeloader/officeloader.cxx @@ -23,9 +23,6 @@ #include #include -#if _WIN32_WINNT < 0x0501 -#define _WIN32_WINNT 0x0501 -#endif #define WIN32_LEAN_AND_MEAN #if defined _MSC_VER #pragma warning(push, 1)