From 596b1e69ce922d8c34ad8eb7d38b228abcfaf874 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 6 Mar 2014 23:33:09 +0100 Subject: [PATCH] Fixes for legacy MinGW 4.2. --- src/win32_platform.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/win32_platform.h b/src/win32_platform.h index 968a79da..66b92f04 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -85,6 +85,12 @@ #ifndef WM_COPYGLOBALDATA #define WM_COPYGLOBALDATA 0x0049 #endif +#ifndef WM_UNICHAR + #define WM_UNICHAR 0x0109 +#endif +#ifndef UNICODE_NOCHAR + #define UNICODE_NOCHAR 0xFFFF +#endif #if WINVER < 0x0601 typedef struct tagCHANGEFILTERSTRUCT