mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00: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"
|
||||
|
||||
#ifndef GET_XBUTTON_WPARAM
|
||||
#define GET_XBUTTON_WPARAM(w) (HIWORD(w))
|
||||
#endif
|
||||
|
||||
// Returns the window style for the specified window
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user