1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00

Fix for MinGW compilation

GET_XBUTTON_WPARAM is not defined on legacy MinGW.

Fixes #639.
This commit is contained in:
Stanislav 2015-11-10 03:12:38 -05:00 committed by Camilla Berglund
parent e046d0696b
commit dc373d2e0e

View File

@ -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
// //