Require NT 6.1+, i.e. Windows 7 and Server 2008 R2

Enables CERT_CHAIN_ENGINE_CONFIG#hExclusiveRoot used by Boost.WinTLS.
Icinga 2 already doesn't start on the original Server 2008.
This commit is contained in:
Alexander A. Klimov 2024-01-10 16:54:44 +01:00
parent a850b8468f
commit 09ec955497

View File

@ -5,7 +5,7 @@
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#ifndef _WIN32_WINNT #ifndef _WIN32_WINNT
#define _WIN32_WINNT _WIN32_WINNT_VISTA #define _WIN32_WINNT _WIN32_WINNT_WIN7
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#define NOMINMAX #define NOMINMAX
#include <winsock2.h> #include <winsock2.h>