diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-17 13:52:54 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-17 13:52:54 +0100 |
commit | c326cf4b45539134e19faf4eb26d8c3da51e0841 (patch) | |
tree | d1f0fcc6bb72acbe67997bab4b46cdb5de913bd3 | |
parent | 4eb8139c8a854a856ce108a0c79a932ab9b6da70 (diff) |
dinput: fix build on MSVC 2017
-rw-r--r-- | dinput/dinput.hpp | 2 |
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 |