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"
#ifndef GET_XBUTTON_WPARAM
#define GET_XBUTTON_WPARAM(w) (HIWORD(w))
#endif
// Returns the window style for the specified window
//