src/core/windows/SDL_xinput.h
changeset 11138 c936a84f05ba
parent 11068 117d4ce1390e
child 11382 2c50e79b19e0
     1.1 --- a/src/core/windows/SDL_xinput.h	Mon Jul 10 17:16:12 2017 -0700
     1.2 +++ b/src/core/windows/SDL_xinput.h	Mon Jul 10 18:31:28 2017 -0700
     1.3 @@ -101,13 +101,7 @@
     1.4  
     1.5  /* typedef's for XInput structs we use */
     1.6  
     1.7 -/* Don't redeclare these on MinGW with gcc >= 5.0.2 */
     1.8 -#if defined(__MINGW32__) && (((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) >= 50002)
     1.9 -#define HAS_XINPUT_GAMEPAD_EX
    1.10 -#define HAS_XINPUT_STATE_EX
    1.11 -#endif
    1.12 -
    1.13 -#ifndef HAS_XINPUT_GAMEPAD_EX
    1.14 +#ifndef HAVE_XINPUT_GAMEPAD_EX
    1.15  typedef struct
    1.16  {
    1.17      WORD wButtons;
    1.18 @@ -121,7 +115,7 @@
    1.19  } XINPUT_GAMEPAD_EX;
    1.20  #endif
    1.21  
    1.22 -#ifndef HAS_XINPUT_STATE_EX
    1.23 +#ifndef HAVE_XINPUT_STATE_EX
    1.24  typedef struct
    1.25  {
    1.26      DWORD dwPacketNumber;