]> git.saurik.com Git - wxWidgets.git/commitdiff
Sun CC (at least version 5.9) has wint_t as a separate type too
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Jun 2007 13:59:48 +0000 (13:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Jun 2007 13:59:48 +0000 (13:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unichar.h

index ed7c494d37e717d3600f3a5ed4a8d460d22fdb28..f78e5806bcdafad8c745ea61648e071a61c0d810 100644 (file)
@@ -20,7 +20,8 @@
 // passing wxUniChar[Ref] to functions taking wint_t such as iswalnum() &c
 #if (defined(__GNUC__) && \
         !defined(__DARWIN__) && !defined(__OS2__) && !defined(__DOS__)) || \
 // passing wxUniChar[Ref] to functions taking wint_t such as iswalnum() &c
 #if (defined(__GNUC__) && \
         !defined(__DARWIN__) && !defined(__OS2__) && !defined(__DOS__)) || \
-    (defined(__VISUALC__) && defined(_NATIVE_WCHAR_T_DEFINED))
+    (defined(__VISUALC__) && defined(_NATIVE_WCHAR_T_DEFINED)) || \
+    wxCHECK_SUNCC_VERSION(5, 9)
     #define wxWINT_T_IS_SEPARATE_TYPE
 #endif
 
     #define wxWINT_T_IS_SEPARATE_TYPE
 #endif