mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 18:15:10 +00:00
Fixed _WIN32_WINNT not being set to Windows XP.
This commit is contained in:
parent
3f74712540
commit
b998d4fe01
@ -204,6 +204,8 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/).
|
||||
|
||||
## Changelog
|
||||
|
||||
- [Win32] Bugfix: `_WIN32_WINNT` was not set to Windows XP or later
|
||||
|
||||
|
||||
## Contact
|
||||
|
||||
|
@ -52,10 +52,13 @@
|
||||
#define UNICODE
|
||||
#endif
|
||||
|
||||
// GLFW requires Windows XP
|
||||
// GLFW requires Windows XP or later
|
||||
#ifndef WINVER
|
||||
#define WINVER 0x0501
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
#include <mmsystem.h>
|
||||
|
Loading…
Reference in New Issue
Block a user