diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-28 10:33:13 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-28 10:40:14 +0200 |
commit | c153edbf27106fe43c8389ef75becc3af950b12f (patch) | |
tree | 3d1ca5b180bcc43e957a5168c140c958085b3bfb | |
parent | e096b49be2d09fe2c8b84dd2dac942e3dcda7036 (diff) |
dinput: shutup MSVC warning
-rw-r--r-- | dinput/dinput.hpp | 4 |
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: |