From 246eb14e95f35cefdd358eb9a1e29c7f0ffa3b20 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 12 Mar 2006 10:09:41 +0000 Subject: [PATCH] * fixed widestring lib on solaris git-svn-id: trunk@2882 - --- rtl/unix/cwstring.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtl/unix/cwstring.pp b/rtl/unix/cwstring.pp index 4e70558d4c..0322320253 100644 --- a/rtl/unix/cwstring.pp +++ b/rtl/unix/cwstring.pp @@ -27,9 +27,11 @@ implementation {$ifndef linux} // Linux (and maybe glibc platforms in general), have iconv in glibc. {$ifndef FreeBSD5} +{$ifndef SunOS} {$linklib iconv} {$define useiconv} {$endif} +{$endif} {$endif linux} Uses @@ -42,7 +44,7 @@ Uses Const {$ifndef useiconv} - libiconvname='c'; // is in libc under Linux. + libiconvname='c'; // is in libc for several OSes {$else} libiconvname='iconv'; {$endif}