summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/shortcuts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-14 18:51:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-14 18:51:32 +0200
commitec1c2b16379d657db92c90e25b9e01393267b596 (patch)
treeddc7d62b0043da1261d729f817cfe8cbea4c600c /facetracknoir/shortcuts.h
parent38303ae6a79fc8dea560a2d2813fe1ea360e401d (diff)
Clean up preprocessor mingw-isms
No functional changes.
Diffstat (limited to 'facetracknoir/shortcuts.h')
-rw-r--r--facetracknoir/shortcuts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/shortcuts.h b/facetracknoir/shortcuts.h
index 15256b6c..685c78b6 100644
--- a/facetracknoir/shortcuts.h
+++ b/facetracknoir/shortcuts.h
@@ -34,7 +34,7 @@ private slots:
extern QList<QString> global_key_sequences;
-#if defined(__WIN32) || defined(_WIN32)
+#if defined(_WIN32)
extern QList<int> global_windows_key_sequences;
# undef DIRECTINPUT_VERSION
# define DIRECTINPUT_VERSION 0x0800
@@ -60,7 +60,7 @@ typedef unsigned char BYTE;
struct Key { int foo; };
#endif
-#if defined(__WIN32) || defined(_WIN32)
+#if defined(_WIN32)
class KeybindingWorkerImpl {
private:
LPDIRECTINPUT8 din;