summaryrefslogtreecommitdiffhomepage
path: root/dinput/dinput.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-28 10:33:13 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-28 10:40:14 +0200
commitc153edbf27106fe43c8389ef75becc3af950b12f (patch)
tree3d1ca5b180bcc43e957a5168c140c958085b3bfb /dinput/dinput.hpp
parente096b49be2d09fe2c8b84dd2dac942e3dcda7036 (diff)
dinput: shutup MSVC warning
Diffstat (limited to 'dinput/dinput.hpp')
-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: