X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84f5e95e86bc76e0dd2008a499deade13d92ccd5..01d2bf4def3a1687b47a85fe250bed006db72d65:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 764e1ff3b8..c95d6729e8 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1842,8 +1842,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 -#if !defined(__WXMSW__) && !defined(__WXPALMOS__) + // No EOVERFLOW on Windows nor Palm 6.0 nor OpenVMS +#if !defined(__WXMSW__) && !defined(__WXPALMOS__) && !defined( __VMS ) || errno != EOVERFLOW #endif )