mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Fix for MinGW compilation
GET_XBUTTON_WPARAM is not defined on legacy MinGW. Fixes #639.
This commit is contained in:
parent
e046d0696b
commit
dc373d2e0e
|
@ -37,6 +37,9 @@
|
||||||
|
|
||||||
#define _GLFW_WNDCLASSNAME L"GLFW30"
|
#define _GLFW_WNDCLASSNAME L"GLFW30"
|
||||||
|
|
||||||
|
#ifndef GET_XBUTTON_WPARAM
|
||||||
|
#define GET_XBUTTON_WPARAM(w) (HIWORD(w))
|
||||||
|
#endif
|
||||||
|
|
||||||
// Returns the window style for the specified window
|
// Returns the window style for the specified window
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user