Fixed bug 2450 - Crosscompiling for Win32 with MinGW fails due to WM_UNICHAR undeclared

This commit is contained in:
Sam Lantinga 2014-03-15 16:32:45 -07:00
parent 9245c93044
commit 56b40ce046
1 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,9 @@
#ifndef WM_MOUSEHWHEEL #ifndef WM_MOUSEHWHEEL
#define WM_MOUSEHWHEEL 0x020E #define WM_MOUSEHWHEEL 0x020E
#endif #endif
#ifndef WM_UNICHAR
#define WM_UNICHAR 0x0109
#endif
static SDL_Scancode static SDL_Scancode
WindowsScanCodeToSDLScanCode( LPARAM lParam, WPARAM wParam ) WindowsScanCodeToSDLScanCode( LPARAM lParam, WPARAM wParam )