Fixed _WIN32_WINNT not being set to Windows XP.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent 3f74712540
commit b998d4fe01
  1. 2
      README.md
  2. 5
      src/win32_platform.h

@ -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…
Cancel
Save