Răsfoiți Sursa

* fixed widestring lib on solaris

git-svn-id: trunk@2882 -
florian 19 ani în urmă
părinte
comite
246eb14e95
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      rtl/unix/cwstring.pp

+ 3 - 1
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}