summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inputmanager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/inputmanager.h b/src/inputmanager.h
index de5003a3b..4bcc85e84 100644
--- a/src/inputmanager.h
+++ b/src/inputmanager.h
@@ -31,6 +31,14 @@
#define KeyFunctionSize 3
+// hack to avoid conflicts with windows headers.
+#ifdef INPUT_KEYBOARD
+#undef INPUT_KEYBOARD
+#endif
+#ifdef INPUT_MOUSE
+#undef INPUT_MOUSE
+#endif
+
struct KeyData;
class Setup_Input;