Explorar o código

Hopefully fixed Cygwin build

Sam Lantinga %!s(int64=12) %!d(string=hai) anos
pai
achega
cd8f63f280
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/joystick/windows/SDL_windowsjoystick.c

+ 4 - 0
src/joystick/windows/SDL_windowsjoystick.c

@@ -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;