mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-04 20:18:32 +02:00
* fixed widestring lib on solaris
git-svn-id: trunk@2882 -
This commit is contained in:
parent
5671bf276c
commit
246eb14e95
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user