summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-19 02:31:42 +0200
committerSergeanur <s.anureev@yandex.ua>2020-08-19 02:31:42 +0200
commit4d1cfb7214a4867487f128c7e3360681f47e0239 (patch)
tree8ee67a9a78715308604c5422229977722e447603 /src/core/Pad.cpp
parentlittle fix (diff)
downloadre3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.gz
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.bz2
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.lz
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.xz
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.zst
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.zip
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index d4ffc5ea..3b46a110 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -11,7 +11,11 @@
#include "platform.h"
#ifdef XINPUT
#include <xinput.h>
+#if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1)
#pragma comment( lib, "Xinput9_1_0.lib" )
+#else
+#pragma comment( lib, "Xinput.lib" )
+#endif
#endif
#include "Pad.h"