X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad5bb7d6a69b25a7508dea70503b986f29f80de1..5d9d1b88100b11e56f66d0e7cd955adbc17a40fd:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index 796827ec71..779beaee43 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1844,7 +1844,13 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr) if ( (len >= 0 && len <= size) // No EOVERFLOW on Windows nor Palm 6.0 nor OpenVMS nor MacOS (not X) // not OS/2 (not Innotek libc). -#if !defined(__WXMSW__) && !defined(__WXPALMOS__) && !defined( __VMS ) && !(defined(__WXMAC__) && !defined(__WXMAC_OSX__)) && !(defined(__EMX__) && !defined(__INNOTEK_LIBC__)) +#if !defined(__WXMSW__) && \ + !defined(__WXPALMOS__) && \ + !defined(__OpenBSD__) && \ + !defined(__DJGPP__) && \ + !defined( __VMS ) && \ + !(defined(__WXMAC__) && !defined(__WXMAC_OSX__)) && \ + !(defined(__EMX__) && !defined(__INNOTEK_LIBC__)) || errno != EOVERFLOW #endif )