define UNICODE_NOCHAR only if it wasn't already defined

svn path=/trunk/; revision=38736
This commit is contained in:
Timo Kreuzer 2009-01-12 20:59:51 +00:00
parent 15c3798cac
commit 4ca5586a80

View file

@ -1642,7 +1642,10 @@ extern "C" {
#if(_WIN32_WINNT >= 0x0501)
#define WM_UNICHAR 0x0109
#define WM_KEYLAST WM_UNICHAR
/* FIXME: HACK! */
#ifndef UNICODE_NOCHAR
#define UNICODE_NOCHAR 0xffff
#endif
#else
#define WM_KEYLAST 264
#endif