summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
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"