Hopefully fixed Cygwin build
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 13:21:54 -0700
changeset 89881deb2998dbae
parent 8987 d0fd8420b019
child 8989 25582ffe1dec
Hopefully fixed Cygwin build
src/joystick/windows/SDL_windowsjoystick.c
     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;