Workaround missing WM_TOUCH on mingw-w64 < 4.0
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
(cherry picked from commit 2ed87f33cf
)
This commit is contained in:
parent
2ab7a6feb0
commit
5bcfe43a14
@ -66,12 +66,11 @@ __attribute__((visibility("default"))) DWORD NvOptimusEnablement = 0x00000001;
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef WM_MOUSEHWHEEL
|
// Workaround mingw-w64 < 4.0 bug
|
||||||
#define WM_MOUSEHWHEEL 0x020e
|
#ifndef WM_TOUCH
|
||||||
|
#define WM_TOUCH 576
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define STDOUT_FILE
|
|
||||||
|
|
||||||
extern HINSTANCE godot_hinstance;
|
extern HINSTANCE godot_hinstance;
|
||||||
|
|
||||||
void RedirectIOToConsole() {
|
void RedirectIOToConsole() {
|
||||||
|
Loading…
Reference in New Issue
Block a user