From 9729af15e9138493e435b8db46e89180f5bfb5c2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 24 Jul 2017 03:25:41 +0200 Subject: dinput: less boilerplate --- dinput/dinput.hpp | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'dinput/dinput.hpp') diff --git a/dinput/dinput.hpp b/dinput/dinput.hpp index 86828b00..fc73a90a 100644 --- a/dinput/dinput.hpp +++ b/dinput/dinput.hpp @@ -10,21 +10,10 @@ #include "export.hpp" -#ifdef Q_MOC_RUN -typedef void* LPDIRECTINPUT8; -#else -#ifndef DIRECTINPUT_VERSION -# define DIRECTINPUT_VERSION 0x800 +#undef DIRECTINPUT_VERSION +#define DIRECTINPUT_VERSION 0x800 #include -#endif #include -#endif - -#if defined(_MSC_VER) -# if defined BUILD_DINPUT - template struct __declspec(dllexport) std::atomic; -# endif -#endif class OTR_DINPUT_EXPORT dinput_handle final { -- cgit v1.2.3