src/joystick/windows/SDL_windowsjoystick.c
changeset 8988 1deb2998dbae
parent 8972 dfc759d7486f
child 9166 e5a2e31d4bee
     1.1 --- a/src/joystick/windows/SDL_windowsjoystick.c	Mon Jul 07 13:19:53 2014 -0700
     1.2 +++ b/src/joystick/windows/SDL_windowsjoystick.c	Mon Jul 07 13:21:54 2014 -0700
     1.3 @@ -57,6 +57,10 @@
     1.4  #include "../../haptic/windows/SDL_xinputhaptic_c.h"    /* For haptic hot plugging */
     1.5  
     1.6  
     1.7 +#ifndef DEVICE_NOTIFY_WINDOW_HANDLE
     1.8 +#define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
     1.9 +#endif
    1.10 +
    1.11  /* local variables */
    1.12  static SDL_bool s_bDeviceAdded = SDL_FALSE;
    1.13  static SDL_bool s_bDeviceRemoved = SDL_FALSE;