diff src/video/win32/SDL_win32events.c @ 2733:264037dd3c7a

Fix for mingw compilation by Alam.
author Edgar Simo <bobbens@gmail.com>
date Tue, 26 Aug 2008 11:50:37 +0000
parents f23ebf1ddac4
children 5955b6550d7e
line wrap: on
line diff
--- 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;