Explorar o código

* fixed widestring lib on solaris

git-svn-id: trunk@2882 -
florian %!s(int64=19) %!d(string=hai) anos
pai
achega
246eb14e95
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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}