From 56b40ce04667659cb041de015cfb31645d47b355 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 15 Mar 2014 16:32:45 -0700 Subject: [PATCH] Fixed bug 2450 - Crosscompiling for Win32 with MinGW fails due to WM_UNICHAR undeclared --- src/video/windows/SDL_windowsevents.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c index b4e51a0bf..ec3c05262 100644 --- a/src/video/windows/SDL_windowsevents.c +++ b/src/video/windows/SDL_windowsevents.c @@ -71,6 +71,9 @@ #ifndef WM_MOUSEHWHEEL #define WM_MOUSEHWHEEL 0x020E #endif +#ifndef WM_UNICHAR +#define WM_UNICHAR 0x0109 +#endif static SDL_Scancode WindowsScanCodeToSDLScanCode( LPARAM lParam, WPARAM wParam )