summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/String.cc6
1 files changed, 5 insertions, 1 deletions
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 <stdio.h>
#include <string.h>
@@ -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;