diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-13 22:06:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-14 02:10:13 +0300 |
commit | b15ab01a35ce3682e26aafb5fb1ac0fb98045241 (patch) | |
tree | 344b23d0c5721d1d5c86732c8abf581c3de1a5f1 /src/inputmanager.h | |
parent | aa629a5b28d83333d083cac24ee9ac815c2ea6e7 (diff) | |
download | manaverse-b15ab01a35ce3682e26aafb5fb1ac0fb98045241.tar.gz manaverse-b15ab01a35ce3682e26aafb5fb1ac0fb98045241.tar.bz2 manaverse-b15ab01a35ce3682e26aafb5fb1ac0fb98045241.tar.xz manaverse-b15ab01a35ce3682e26aafb5fb1ac0fb98045241.zip |
Add support for mingw64 for windows builds.
Diffstat (limited to 'src/inputmanager.h')
-rw-r--r-- | src/inputmanager.h | 8 |
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; |