Skip to content

Commit 547952c

Browse files
committed
Drop Windows VISITA 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 VISITA 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]: boostorg/stacktrace#200
1 parent d265329 commit 547952c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/base/win32.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#define WIN32_LEAN_AND_MEAN
77
#ifndef _WIN32_WINNT
8-
#define _WIN32_WINNT _WIN32_WINNT_VISTA
8+
#define _WIN32_WINNT _WIN32_WINNT_WIN7
99
#endif /* _WIN32_WINNT */
1010
#define NOMINMAX
1111
#include <winsock2.h>

0 commit comments

Comments
 (0)