Workaround for compiling with MinGW-w64

Fixes bug https://github.com/libsdl-org/SDL/issues/5589
This commit is contained in:
Sam Lantinga 2022-05-27 15:34:45 -07:00
parent 001d2e2f65
commit efdf43aa9b
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,11 @@
#include <cfgmgr32.h> #include <cfgmgr32.h>
#include <roapi.h> #include <roapi.h>
#ifdef __MINGW32__
#define __FIReference_1_int __FIReference_1_INT32
#define __FIReference_1_int_get_Value __FIReference_1_INT32_get_Value
#define __FIReference_1_int_Release __FIReference_1_INT32_Release
#endif
struct joystick_hwdata struct joystick_hwdata
{ {