From cd8f63f2805bff4041a29649530edc76a6bc9344 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 7 Jul 2014 13:21:54 -0700 Subject: [PATCH] Hopefully fixed Cygwin build --- src/joystick/windows/SDL_windowsjoystick.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/joystick/windows/SDL_windowsjoystick.c b/src/joystick/windows/SDL_windowsjoystick.c index 9028e3d5c..c7fa068df 100644 --- a/src/joystick/windows/SDL_windowsjoystick.c +++ b/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;