diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-18 00:23:23 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-18 00:23:23 +0100 |
commit | 4fa2108094cb137ec7b2a6b44a9c13b554b4c1f9 (patch) | |
tree | 5d59b57612f3d3e938eac44799401bb23e495ab5 /dinput | |
parent | de4160206991947a45ae167c513c0c41d63381d5 (diff) |
dinput: shutup vc++ 2017 properly
Diffstat (limited to 'dinput')
-rw-r--r-- | dinput/dinput.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dinput/dinput.hpp b/dinput/dinput.hpp index 99ba13f6..48132e76 100644 --- a/dinput/dinput.hpp +++ b/dinput/dinput.hpp @@ -20,8 +20,8 @@ typedef void* LPDIRECTINPUT8; #include <atomic> #endif -#if defined(_MSC_VER) && _MSC_VER < 1910 - template struct __declspec(dllimport) std::atomic<int>; +#if defined(_MSC_VER) + template struct __declspec(dllexport) std::atomic<int>; #endif class OPENTRACK_DINPUT_EXPORT dinput_handle final |