mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 20:19:33 +02:00
Set macro iconv_is_in_libc for FreeBSD OS
This commit is contained in:
parent
f720ea3a21
commit
01ad5f2c28
@ -38,6 +38,17 @@ implementation
|
|||||||
{$endif}
|
{$endif}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
{ Modern FreeBSD releases also claim to have iconv
|
||||||
|
function inside libc, at least
|
||||||
|
this is stated explicitly in iconv(3) man
|
||||||
|
of FreeBSD from 10.0 release
|
||||||
|
PM 2023-05-05 }
|
||||||
|
{$ifdef freebsd}
|
||||||
|
{$ifndef DISABLE_ICONV_LIBC}
|
||||||
|
{$define iconv_is_in_libc}
|
||||||
|
{$endif}
|
||||||
|
{$endif}
|
||||||
|
|
||||||
{$ifndef iconv_is_in_libc}
|
{$ifndef iconv_is_in_libc}
|
||||||
{$if defined(haiku)}
|
{$if defined(haiku)}
|
||||||
{$linklib textencoding}
|
{$linklib textencoding}
|
||||||
|
Loading…
Reference in New Issue
Block a user