Fixed compiling with older Windows SDKs

main
Sam Lantinga 2023-03-10 16:11:41 -08:00
parent 1550fb69e4
commit ffe6e58c85
1 changed files with 1 additions and 1 deletions

View File

@ -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