From 1148f81c6734c0ee016e37c01f5607e5470eb62e Mon Sep 17 00:00:00 2001 From: darkf <> Date: Mon, 6 Apr 2020 19:04:27 -0700 Subject: [PATCH] Define XINPUT_DLL for MinGW --- src/common/input/XInputPad.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/input/XInputPad.cpp b/src/common/input/XInputPad.cpp index 938248344..8162e342e 100644 --- a/src/common/input/XInputPad.cpp +++ b/src/common/input/XInputPad.cpp @@ -38,6 +38,11 @@ #include "core\kernel\support\Emu.h" #include "InputManager.h" +// For MinGW +#ifndef XINPUT_DLL +#define XINPUT_DLL "xinput1_3.dll" +#endif + #ifndef XINPUT_GAMEPAD_GUIDE #define XINPUT_GAMEPAD_GUIDE 0x0400 #endif