mirror of
https://github.com/glfw/glfw.git
synced 2025-04-07 22:43:06 +00:00
Conditionally define API version macros.
This commit is contained in:
parent
6770ae0556
commit
3415f3ccde
1 changed files with 4 additions and 2 deletions
|
@ -53,10 +53,12 @@
|
|||
#endif
|
||||
|
||||
// GLFW requires Windows XP or later
|
||||
#ifndef WINVER
|
||||
#if WINVER < 0x0501
|
||||
#undef WINVER
|
||||
#define WINVER 0x0501
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
#if _WIN32_WINNT < 0x0501
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue