X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d95fb7ebf8d9294fadd1da79839744a710e3ea44..c9ab63f44f0dba014aeb803803a5e8717adcef35:/src/common/string.cpp?ds=sidebyside diff --git a/src/common/string.cpp b/src/common/string.cpp index 4304d78ff7..6a49e9d42a 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1836,7 +1836,8 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr) // in which case we need to break out if ( (len >= 0 && len <= size) // 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__)) + // not OS/2 (not Innotek libc). +#if !defined(__WXMSW__) && !defined(__WXPALMOS__) && !defined( __VMS ) && !(defined(__WXMAC__) && !defined(__WXMAC_OSX__)) && !(defined(__EMX__) && !defined(__INNOTEK_LIBC__)) || errno != EOVERFLOW #endif )