mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 13:46:37 +00:00
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:
parent
e046d0696b
commit
1f5d4d3bdc
@ -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