From 7d2f1c2030a17ae3dc464c3e8dabfdef0fb78cef Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 27 May 2025 16:53:13 +0200 Subject: [PATCH] Drop Windows VISTA from the supported platform Boost `1.88.0` introduced a feature [^1] that makes use of the Windows API, but it uses API functions that are only available with `PSAPI_VERSION >= 2` and Windows VISTA only supports `PSAPI_VERSION == 1`. Actually, that new feature can also be disabled by setting the `BOOST_STACKTRACE_DISABLE_OFFSET_ADDR_BASE` macro, but since it seems to be a useful feature and isn't even disabled by default, we can just drop it that ancient Windows version instead of disabling it. [^1]: https://github.com/boostorg/stacktrace/pull/200 --- lib/base/win32.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/win32.hpp b/lib/base/win32.hpp index 064c5d669..80d8729f3 100644 --- a/lib/base/win32.hpp +++ b/lib/base/win32.hpp @@ -5,7 +5,7 @@ #define WIN32_LEAN_AND_MEAN #ifndef _WIN32_WINNT -#define _WIN32_WINNT _WIN32_WINNT_VISTA +#define _WIN32_WINNT _WIN32_WINNT_WIN7 #endif /* _WIN32_WINNT */ #define NOMINMAX #include