From: Václav Slavík Date: Sun, 1 Apr 2007 08:04:32 +0000 (+0000) Subject: wint_t is wchar_t on OS/2 too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9cea4218b17744015304cad941f26baac8b9dd47 wint_t is wchar_t on OS/2 too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unichar.h b/include/wx/unichar.h index 6581e3e769..89cdf9c125 100644 --- a/include/wx/unichar.h +++ b/include/wx/unichar.h @@ -18,7 +18,7 @@ // wint_t is just a typedef for wchar_t for many old compilers but for modern // ones it's a separate type and we must provide a conversion to it to allow // passing wxUniChar[Ref] to functions taking wint_t such as iswalnum() &c -#if (defined(__GNUC__) && !defined(__DARWIN__)) || \ +#if (defined(__GNUC__) && !defined(__DARWIN__) && !defined(__OS2__)) || \ (defined(__VISUALC__) && defined(_NATIVE_WCHAR_T_DEFINED)) #define wxWINT_T_IS_SEPARATE_TYPE #endif