From ffe6e58c854fcfc381a92da325590b518517f33d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 10 Mar 2023 16:11:41 -0800 Subject: [PATCH] Fixed compiling with older Windows SDKs --- src/core/windows/SDL_windows.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/windows/SDL_windows.h b/src/core/windows/SDL_windows.h index 386e426dc..62db3ff00 100644 --- a/src/core/windows/SDL_windows.h +++ b/src/core/windows/SDL_windows.h @@ -41,7 +41,7 @@ #elif defined(HAVE_SHELLSCALINGAPI_H) #define _WIN32_WINNT 0x603 /* For DPI support */ #else -#define _WIN32_WINNT 0x501 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input */ +#define _WIN32_WINNT 0x502 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input, 0x502 for RegGetValue() */ #endif #define WINVER _WIN32_WINNT