]> git.saurik.com Git - wxWidgets.git/commitdiff
EOVERFLOW is not available on classic Mac OS.
authorDavid Elliott <dfe@tgwbd.org>
Sun, 27 Mar 2005 04:15:30 +0000 (04:15 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sun, 27 Mar 2005 04:15:30 +0000 (04:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 211da2c5e341fb9605292b721b5a86d0ce443cbd..4304d78ff73fdb07f45a8fa23674f79435a5a40c 100644 (file)
@@ -1835,8 +1835,8 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr)
         // also, it may return an errno may be something like EILSEQ,
         // in which case we need to break out
         if ( (len >= 0 && len <= size)
-        // No EOVERFLOW on Windows nor Palm 6.0 nor OpenVMS
-#if !defined(__WXMSW__) && !defined(__WXPALMOS__) && !defined( __VMS )
+        // No EOVERFLOW on Windows nor Palm 6.0 nor OpenVMS nor MacOS (not X)
+#if !defined(__WXMSW__) && !defined(__WXPALMOS__) && !defined( __VMS ) && !(defined(__WXMAC__) && !defined(__WXMAC_OSX__))
             || errno != EOVERFLOW
 #endif
             )