summaryrefslogtreecommitdiff
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-16 16:44:59 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-23 03:23:16 +0300
commitf85b5e99edfb2e1b9a4563cacc96892195eee379 (patch)
treee8c670366d80e62776b0856466625b50af97c0c7 /src/core/Pad.cpp
parentcc6d5374d5bdd79607494c2747c26587b69353ec (diff)
Includes overhaul, fix some compiler warnings
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 60ff3555..671a4552 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1,11 +1,4 @@
-#pragma warning( push )
-#pragma warning( disable : 4005)
-#if defined RW_D3D9 || defined RWLIBS
-#define DIRECTINPUT_VERSION 0x0800
-#include <dinput.h>
-#endif
-#pragma warning( pop )
-
+#define WITHDINPUT
#include "common.h"
#include "crossplatform.h"
#include "platform.h"