소스 검색

Fixed compiling with older Windows SDKs

Sam Lantinga 3 년 전
부모
커밋
ffe6e58c85
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/windows/SDL_windows.h

+ 1 - 1
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