]> git.saurik.com Git - wxWidgets.git/commitdiff
wint_t is wchar_t on OS/2 too
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 1 Apr 2007 08:04:32 +0000 (08:04 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 1 Apr 2007 08:04:32 +0000 (08:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unichar.h

index 6581e3e76941637e252ef7090bb0d4f03a92aa61..89cdf9c125977bf6ac0e43184aa49a57c22a312b 100644 (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