summaryrefslogtreecommitdiff
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2021-01-14 22:06:27 +0100
committerFilip Gawin <filip.gawin@zoho.com>2021-01-14 22:06:27 +0100
commitc7b905c0ec9ce2ff39bf74b5bfc832645a1c6ef1 (patch)
tree40f48630eae122d458502b43a7c8d24502940697 /src/core/Pad.cpp
parent70358d90b4d75a9fb38c962e6355a52c016cbd59 (diff)
More checks before autolinking
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index feda19c6..8d55250a 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -10,6 +10,7 @@
#include "crossplatform.h"
#include "platform.h"
#ifdef XINPUT
+#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#include <xinput.h>
#if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1)
#pragma comment( lib, "Xinput9_1_0.lib" )
@@ -17,6 +18,7 @@
#pragma comment( lib, "Xinput.lib" )
#endif
#endif
+#endif
#include "Pad.h"
#include "ControllerConfig.h"