mirror of https://github.com/encounter/SDL.git
Fixed build with MinGW-64 windows.devices.power.h
The MinGW-64 header defines the parameters as ABI::Windows::Foundation::IReference<INT32 > **, but the Windows header defines the parameters as __FIReference_1_int**
This commit is contained in:
parent
bd22ca762e
commit
d2c4d74dd0
|
@ -35,6 +35,13 @@
|
||||||
#include <roapi.h>
|
#include <roapi.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef ____FIReference_1_INT32_INTERFACE_DEFINED__
|
||||||
|
/* MinGW-64 uses __FIReference_1_INT32 instead of Microsoft's __FIReference_1_int */
|
||||||
|
#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
|
||||||
{
|
{
|
||||||
__x_ABI_CWindows_CGaming_CInput_CIRawGameController *controller;
|
__x_ABI_CWindows_CGaming_CInput_CIRawGameController *controller;
|
||||||
|
|
Loading…
Reference in New Issue