From 2c854de501ee51e67df4f6443a90c75b71bbfce3 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 30 Apr 2026 12:00:04 +0200 Subject: [PATCH] Target Windows 7 instead of Windows Vista --- cmdline/portable.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmdline/portable.h b/cmdline/portable.h index d2109999..f06a3c45 100644 --- a/cmdline/portable.h +++ b/cmdline/portable.h @@ -21,16 +21,16 @@ #define __USE_MINGW_ANSI_STDIO 1 /** - * Define the MSVCRT version targeting Windows Vista. + * Define the MSVCRT version targeting Windows 7. */ -#define __MSVCRT_VERSION__ 0x0600 +#define __MSVCRT_VERSION__ 0x0601 /** - * Include Windows Vista headers. + * Include Windows 7 headers. * * Like for InitializeCriticalSection(). */ -#define _WIN32_WINNT 0x600 +#define _WIN32_WINNT 0x601 /** * Undef as it clashes with windows.h declarations