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:
@@ -18,7 +18,7 @@
|
|||||||
// wint_t is just a typedef for wchar_t for many old compilers but for modern
|
// 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
|
// 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
|
// 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))
|
(defined(__VISUALC__) && defined(_NATIVE_WCHAR_T_DEFINED))
|
||||||
#define wxWINT_T_IS_SEPARATE_TYPE
|
#define wxWINT_T_IS_SEPARATE_TYPE
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user