X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a08c20ec23c76032ae062a2935c6c4d7ae489f2..01d2bf4def3a1687b47a85fe250bed006db72d65:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 501c4694ae..c95d6729e8 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1841,9 +1841,9 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr) // buffer were large enough // 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 -#ifndef __WXMSW__ + if ( (len >= 0 && len <= size) + // No EOVERFLOW on Windows nor Palm 6.0 nor OpenVMS +#if !defined(__WXMSW__) && !defined(__WXPALMOS__) && !defined( __VMS ) || errno != EOVERFLOW #endif )