From c326cf4b45539134e19faf4eb26d8c3da51e0841 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Mar 2017 13:52:54 +0100 Subject: dinput: fix build on MSVC 2017 --- dinput/dinput.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) && _MSC_VER < 1910 template struct __declspec(dllimport) std::atomic; #endif -- cgit v1.2.3