src/haptic/windows/SDL_windowshaptic_c.h
changeset 13944 b8c8ce11efc7
parent 13422 fd6a12de91c7
     1.1 --- a/src/haptic/windows/SDL_windowshaptic_c.h	Sun Jul 05 22:33:10 2020 +0300
     1.2 +++ b/src/haptic/windows/SDL_windowshaptic_c.h	Wed Jul 08 17:28:34 2020 +0200
     1.3 @@ -50,6 +50,7 @@
     1.4  /*
     1.5   * Haptic system effect data.
     1.6   */
     1.7 +#if SDL_HAPTIC_DINPUT || SDL_HAPTIC_XINPUT
     1.8  struct haptic_hweffect
     1.9  {
    1.10  #if SDL_HAPTIC_DINPUT
    1.11 @@ -60,6 +61,7 @@
    1.12      XINPUT_VIBRATION vibration;
    1.13  #endif
    1.14  };
    1.15 +#endif
    1.16  
    1.17  /*
    1.18  * List of available haptic devices.