src/haptic/windows/SDL_dinputhaptic.c
changeset 9658 9753468b5c0e
parent 9619 b94b6d0bff0f
child 9661 62a04df5afe1
     1.1 --- a/src/haptic/windows/SDL_dinputhaptic.c	Thu May 28 00:30:21 2015 -0400
     1.2 +++ b/src/haptic/windows/SDL_dinputhaptic.c	Thu May 28 00:54:52 2015 -0400
     1.3 @@ -20,6 +20,8 @@
     1.4  */
     1.5  #include "../../SDL_internal.h"
     1.6  
     1.7 +#if SDL_HAPTIC_DINPUT
     1.8 +
     1.9  #include "SDL_error.h"
    1.10  #include "SDL_stdinc.h"
    1.11  #include "SDL_haptic.h"
    1.12 @@ -29,9 +31,6 @@
    1.13  #include "../SDL_syshaptic.h"
    1.14  #include "../../joystick/windows/SDL_windowsjoystick_c.h"
    1.15  
    1.16 -
    1.17 -#if SDL_HAPTIC_DINPUT
    1.18 -
    1.19  /*
    1.20   * External stuff.
    1.21   */
    1.22 @@ -1181,7 +1180,6 @@
    1.23  
    1.24  #else /* !SDL_HAPTIC_DINPUT */
    1.25  
    1.26 -
    1.27  int
    1.28  SDL_DINPUT_HapticInit(void)
    1.29  {