summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-22 18:01:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-22 18:01:06 +0100
commit5d4a9c78fbbbd59d366e91bfe4c4263d12833abe (patch)
tree1e60751f78de22affeda114e16c79f333dc05fb1 /opentrack/shortcuts.h
parent0c3a306b8588ae1cbe190ee18db2336bcd0eb527 (diff)
api/joy: guard _WIN32 properly
Diffstat (limited to 'opentrack/shortcuts.h')
-rw-r--r--opentrack/shortcuts.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h
index 930952e8..8acc5ba5 100644
--- a/opentrack/shortcuts.h
+++ b/opentrack/shortcuts.h
@@ -66,7 +66,10 @@ public:
{}
} s;
- Shortcuts() : key_token(KeybindingWorker::add_receiver([&](const Key& k) { receiver(k); }))
+ Shortcuts()
+#ifdef _WIN32
+ : key_token(KeybindingWorker::add_receiver([&](const Key& k) { receiver(k); }))
+#endif
{
reload();
}