X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84f5e95e86bc76e0dd2008a499deade13d92ccd5..7e4fb3b8168f4f2dbf2f8a246d3e094a8ccba194:/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 )