From 95c163e9d110a66cf9a8a5f632a784463a6512af Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 2 Feb 2006 11:01:13 +0000 Subject: Fixing old Dalos, and fixing Linux compilation. --- lib/String.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/String.cc b/lib/String.cc index 20cade9..969d335 100644 --- a/lib/String.cc +++ b/lib/String.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: String.cc,v 1.41 2006-01-31 17:02:39 pixel Exp $ */ +/* $Id: String.cc,v 1.42 2006-02-02 11:01:13 pixel Exp $ */ #include #include @@ -562,7 +562,11 @@ String String::trim() const { String & String::iconv(const String & from, const String & to) { iconv_t cd; +#ifdef __linux__ + char * inbuf; +#else const char * inbuf; +#endif char * outbuf; size_t inleft, outleft; -- cgit v1.2.3