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
This commit is contained in:
Václav Slavík 2007-04-01 08:04:32 +00:00
parent 745817ffbc
commit 9cea4218b1

View File

@ -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