Added workaround for legacy MinGW.

When building on legacy MinGW, WINVER and UNICODE need to be defined
before the inclusion of stddef.h (by glfw3.h), which is itself included
before win32_platform.h.
This commit is contained in:
Camilla Berglund
2013-09-13 12:22:28 +02:00
parent bb5581690d
commit 6770ae0556
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -205,6 +205,7 @@ See the [GLFW documentation](http://www.glfw.org/docs/latest/).
## Changelog
- [Win32] Bugfix: `_WIN32_WINNT` was not set to Windows XP or later
- [Win32] Bugfix: Legacy MinGW needs `WINVER` and `UNICODE` before `stddef.h`
- [X11] Bugfix: Events for mouse buttons 4 and above were not reported