changeset 2733:264037dd3c7a

Fix for mingw compilation by Alam.
author Edgar Simo <bobbens@gmail.com>
date Tue, 26 Aug 2008 11:50:37 +0000
parents a3e3497305d4
children dd25eabe441c
files src/video/win32/SDL_win32events.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;