From 8de7c7627768707b230caa360e533c8d77ca3048 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Thu, 22 May 2008 17:22:00 +0000 Subject: [PATCH] Compilation fix for old OS/2 compiler. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/string.cpp b/src/common/string.cpp index ea260708d1..c0918eed96 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -1918,7 +1918,7 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr) // the user's format string return -1; #else // assume that system version only returns error if not enough space -#ifndef __WXWINCE__ +#if !defined(__WXWINCE__) && (!defined(__OS2__) || defined(__INNOTEK_LIBC__)) if( (errno == EILSEQ) || (errno == EINVAL) ) // If errno was set to one of the two well-known hard errors // then fail immediately to avoid an infinite loop.