mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Win32: Rename Windows 10 macros for clarity
This switches the Windows 10 version helper macros to include the version numbers listed in MSDN requirements sections.
This commit is contained in:
committed by
Camilla Löwy
parent
8ff9ed92b4
commit
34573798f4
@@ -176,9 +176,11 @@ typedef enum
|
||||
_glfwIsWindowsVersionOrGreaterWin32(HIBYTE(_WIN32_WINNT_WINBLUE), \
|
||||
LOBYTE(_WIN32_WINNT_WINBLUE), 0)
|
||||
|
||||
#define _glfwIsWindows10AnniversaryUpdateOrGreaterWin32() \
|
||||
// Windows 10 Anniversary Update
|
||||
#define _glfwIsWindows10Version1607OrGreaterWin32() \
|
||||
_glfwIsWindows10BuildOrGreaterWin32(14393)
|
||||
#define _glfwIsWindows10CreatorsUpdateOrGreaterWin32() \
|
||||
// Windows 10 Creators Update
|
||||
#define _glfwIsWindows10Version1703OrGreaterWin32() \
|
||||
_glfwIsWindows10BuildOrGreaterWin32(15063)
|
||||
|
||||
// HACK: Define macros that some xinput.h variants don't
|
||||
|
||||
Reference in New Issue
Block a user