Fix errors encountered when compiling for v140_xp target
This commit is contained in:
parent
1620ff58c8
commit
671646be26
2 changed files with 36 additions and 13 deletions
|
|
@ -27,6 +27,12 @@
|
|||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
// This macro is defined by newer versions of xinput.h. In case we are
|
||||
// compiling with an older version, define it here.
|
||||
#ifndef XUSER_MAX_COUNT
|
||||
#define XUSER_MAX_COUNT 4
|
||||
#endif
|
||||
|
||||
// TYPES -------------------------------------------------------------------
|
||||
|
||||
typedef DWORD (WINAPI *XInputGetStateType)(DWORD index, XINPUT_STATE *state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue