From 33cc6200a8c797c72536ca319148c0f712cf658a Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Mon, 28 Mar 2005 19:21:09 +0000 Subject: [PATCH] Compilation fix for old OS/2 compilers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/string.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.45.2