1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Conditionally define API version macros.

This commit is contained in:
Camilla Berglund 2013-09-13 12:27:43 +02:00
parent 6770ae0556
commit 3415f3ccde

View File

@ -53,10 +53,12 @@
#endif #endif
// GLFW requires Windows XP or later // GLFW requires Windows XP or later
#ifndef WINVER #if WINVER < 0x0501
#undef WINVER
#define WINVER 0x0501 #define WINVER 0x0501
#endif #endif
#ifndef _WIN32_WINNT #if _WIN32_WINNT < 0x0501
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0501
#endif #endif