Fix for MinGW compilation

The issue:
libs/glfw/src/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0xa6e): undefined reference to `GET_XBUTTON_WPARAM'
collect2.exe: error: ld returned 1 exit status
This commit is contained in:
Stanislav 2015-11-10 03:12:38 -05:00
parent e046d0696b
commit 1f5d4d3bdc

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