소스 검색

* 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 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}