aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde2017-08-18 20:46:13 +0200
committerRémi Verschelde2017-08-18 21:05:19 +0200
commit2ed87f33cf0ba91ecda081be3fd4231071a9c19e (patch)
treefdce75ccae6392cb1efc71cf5a45df0a74efc8ce /platform
parent3f2d806b02b222b8678783541523d6d3417fee25 (diff)
downloadgodot-2ed87f33cf0ba91ecda081be3fd4231071a9c19e.tar.gz
godot-2ed87f33cf0ba91ecda081be3fd4231071a9c19e.tar.zst
godot-2ed87f33cf0ba91ecda081be3fd4231071a9c19e.zip
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/os_windows.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 54021b817..72f6068eb 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -63,12 +63,11 @@ __attribute__((visibility("default"))) DWORD NvOptimusEnablement = 0x00000001;
#endif
}
-#ifndef WM_MOUSEHWHEEL
-#define WM_MOUSEHWHEEL 0x020e
+// Workaround mingw-w64 < 4.0 bug
+#ifndef WM_TOUCH
+#define WM_TOUCH 576
#endif
-//#define STDOUT_FILE
-
extern HINSTANCE godot_hinstance;
void RedirectIOToConsole() {