- Fixed build with MinGW-w64 (TDM-GCC 5.1). Note that the resulting binary will crash under -O3 until the alignment violation is taken care of in FRemapTable::Alloc.
- It appears that CMake added native support for building rc files with MinGW at some point so removed manual rc compiling code.
This commit is contained in:
parent
c28bcca3f3
commit
789315bb4a
9 changed files with 26 additions and 72 deletions
|
|
@ -33,6 +33,17 @@
|
|||
#define XUSER_MAX_COUNT 4
|
||||
#endif
|
||||
|
||||
// MinGW
|
||||
#ifndef XINPUT_DLL
|
||||
#define XINPUT_DLL_A "xinput1_3.dll"
|
||||
#define XINPUT_DLL_W L"xinput1_3.dll"
|
||||
#ifdef UNICODE
|
||||
#define XINPUT_DLL XINPUT_DLL_W
|
||||
#else
|
||||
#define XINPUT_DLL XINPUT_DLL_A
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// TYPES -------------------------------------------------------------------
|
||||
|
||||
typedef DWORD (WINAPI *XInputGetStateType)(DWORD index, XINPUT_STATE *state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue