From 88e4563455ca183e1b77364b73d5e6173af513d3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 20 Sep 2016 21:24:40 +0200 Subject: api, compat: backport exports fix --- opentrack/keybinding-worker.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'opentrack/keybinding-worker.hpp') diff --git a/opentrack/keybinding-worker.hpp b/opentrack/keybinding-worker.hpp index fa50a974..cb1b3184 100644 --- a/opentrack/keybinding-worker.hpp +++ b/opentrack/keybinding-worker.hpp @@ -8,11 +8,7 @@ #pragma once -#ifdef BUILD_api -# include "opentrack-compat/export.hpp" -#else -# include "opentrack-compat/import.hpp" -#endif +#include "export.hpp" #include "opentrack-compat/timer.hpp" #include "opentrack/win32-joystick.hpp" @@ -41,7 +37,7 @@ public: bool should_process(); }; -struct OPENTRACK_EXPORT KeybindingWorker : private QThread +struct OPENTRACK_API_EXPORT KeybindingWorker : private QThread { private: LPDIRECTINPUT8 din; -- cgit v1.2.3