summaryrefslogtreecommitdiffhomepage
path: root/dinput
diff options
context:
space:
mode:
Diffstat (limited to 'dinput')
-rw-r--r--dinput/dinput.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dinput/dinput.hpp b/dinput/dinput.hpp
index 0f737ca5..317f6650 100644
--- a/dinput/dinput.hpp
+++ b/dinput/dinput.hpp
@@ -20,6 +20,10 @@ typedef void* LPDIRECTINPUT8;
#include <atomic>
#endif
+#ifdef _MSC_VER
+ extern template struct OPENTRACK_DINPUT_EXPORT std::atomic<int>;
+#endif
+
class OPENTRACK_DINPUT_EXPORT dinput_handle final
{
public: