mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
device: Fix XInput compile error compiling for newer Windows versions
This commit is contained in:
parent
fd033e66f1
commit
5196719f29
@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
// With MingW32 this raises the error:
|
// With MingW32 this raises the error:
|
||||||
// Redefinition of '_XINPUT_BATTERY_INFORMATION'
|
// Redefinition of '_XINPUT_BATTERY_INFORMATION'
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && _WIN32_WINNT < 0x0602
|
||||||
typedef struct _XINPUT_BATTERY_INFORMATION {
|
typedef struct _XINPUT_BATTERY_INFORMATION {
|
||||||
BYTE BatteryType;
|
BYTE BatteryType;
|
||||||
BYTE BatteryLevel;
|
BYTE BatteryLevel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user