Hopefully fixed Cygwin build
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Jul 2014 13:21:54 -0700
changeset 8988 1deb2998dbae
parent 8987 d0fd8420b019
child 8989 25582ffe1dec
Hopefully fixed Cygwin build
src/joystick/windows/SDL_windowsjoystick.c
--- a/src/joystick/windows/SDL_windowsjoystick.c	Mon Jul 07 13:19:53 2014 -0700
+++ b/src/joystick/windows/SDL_windowsjoystick.c	Mon Jul 07 13:21:54 2014 -0700
@@ -57,6 +57,10 @@
 #include "../../haptic/windows/SDL_xinputhaptic_c.h"    /* For haptic hot plugging */
 
 
+#ifndef DEVICE_NOTIFY_WINDOW_HANDLE
+#define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000
+#endif
+
 /* local variables */
 static SDL_bool s_bDeviceAdded = SDL_FALSE;
 static SDL_bool s_bDeviceRemoved = SDL_FALSE;