Commit bd22ca762e0ca75e96e5aed3ee5ee72a305fb085

Sam Lantinga 2022-05-27T15:40:50

Revert "Workaround for compiling with MinGW-w64" This reverts commit efdf43aa9b4f4d623ffba01f503d9793d5021330. The broken mingw headers aren't in an official release yet, so reporting this upstream.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/joystick/windows/SDL_windows_gaming_input.c b/src/joystick/windows/SDL_windows_gaming_input.c
index c1608a7..8b552bb 100644
--- a/src/joystick/windows/SDL_windows_gaming_input.c
+++ b/src/joystick/windows/SDL_windows_gaming_input.c
@@ -34,11 +34,6 @@
 #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
 {