Fix for mingw compilation by Alam.
authorEdgar Simo <bobbens@gmail.com>
Tue, 26 Aug 2008 11:50:37 +0000
changeset 2733 264037dd3c7a
parent 2732 a3e3497305d4
child 2734 dd25eabe441c
Fix for mingw compilation by Alam.
src/video/win32/SDL_win32events.c
--- a/src/video/win32/SDL_win32events.c	Tue Aug 26 11:40:37 2008 +0000
+++ b/src/video/win32/SDL_win32events.c	Tue Aug 26 11:50:37 2008 +0000
@@ -54,6 +54,9 @@
 #ifndef GET_XBUTTON_WPARAM
 #define GET_XBUTTON_WPARAM(w) (HIWORD(w))
 #endif
+#ifndef WM_INPUT
+#define WM_INPUT 0x00ff
+#endif
 
 extern HCTX *g_hCtx;
 extern HANDLE *mice;