瀏覽代碼

* fixed widestring lib on solaris

git-svn-id: trunk@2882 -
florian 19 年之前
父節點
當前提交
246eb14e95
共有 1 個文件被更改,包括 3 次插入1 次删除
  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 linux}  // Linux (and maybe glibc platforms in general), have iconv in glibc.
 {$ifndef FreeBSD5}
 {$ifndef FreeBSD5}
+{$ifndef SunOS}
  {$linklib iconv}
  {$linklib iconv}
  {$define useiconv}
  {$define useiconv}
 {$endif}
 {$endif}
+{$endif}
 {$endif linux}
 {$endif linux}
 
 
 Uses
 Uses
@@ -42,7 +44,7 @@ Uses
 
 
 Const
 Const
 {$ifndef useiconv}
 {$ifndef useiconv}
-    libiconvname='c';  // is in libc under Linux.
+    libiconvname='c';  // is in libc for several OSes
 {$else}
 {$else}
     libiconvname='iconv';
     libiconvname='iconv';
 {$endif}
 {$endif}