Fixed _WIN32_WINNT not being set to Windows XP.

This commit is contained in:
Camilla Berglund 2013-09-03 13:38:16 +02:00
parent 3f74712540
commit b998d4fe01
2 changed files with 6 additions and 1 deletions

View File

@ -204,6 +204,8 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/).
## Changelog ## Changelog
- [Win32] Bugfix: `_WIN32_WINNT` was not set to Windows XP or later
## Contact ## Contact

View File

@ -52,10 +52,13 @@
#define UNICODE #define UNICODE
#endif #endif
// GLFW requires Windows XP // GLFW requires Windows XP or later
#ifndef WINVER #ifndef WINVER
#define WINVER 0x0501 #define WINVER 0x0501
#endif #endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#include <windows.h> #include <windows.h>
#include <mmsystem.h> #include <mmsystem.h>