Skip to content

Commit

Permalink
Workaround for compiling with MinGW-w64
Browse files Browse the repository at this point in the history
Fixes bug #5589
  • Loading branch information
slouken committed May 27, 2022
1 parent 001d2e2 commit efdf43a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/joystick/windows/SDL_windows_gaming_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
#include <cfgmgr32.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
{
Expand Down

0 comments on commit efdf43a

Please sign in to comment.