summaryrefslogtreecommitdiffhomepage
path: root/dinput/dinput.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-17 13:52:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-17 13:52:54 +0100
commitc326cf4b45539134e19faf4eb26d8c3da51e0841 (patch)
treed1f0fcc6bb72acbe67997bab4b46cdb5de913bd3 /dinput/dinput.hpp
parent4eb8139c8a854a856ce108a0c79a932ab9b6da70 (diff)
dinput: fix build on MSVC 2017
Diffstat (limited to 'dinput/dinput.hpp')
-rw-r--r--dinput/dinput.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/dinput.hpp b/dinput/dinput.hpp
index 06a1095a..99ba13f6 100644
--- a/dinput/dinput.hpp
+++ b/dinput/dinput.hpp
@@ -20,7 +20,7 @@ typedef void* LPDIRECTINPUT8;
#include <atomic>
#endif
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 1910
template struct __declspec(dllimport) std::atomic<int>;
#endif