mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 08:59:27 +02:00
* more "shared" fixes
git-svn-id: trunk@2295 -
This commit is contained in:
parent
77d20d988c
commit
768bf94a99
@ -31,6 +31,8 @@ These functions are the same over all three BSDs, except that some have a
|
||||
{$DEFINE ErrnoWord}
|
||||
{$endif}
|
||||
|
||||
Procedure fpc_geteipasebx;[external name 'fpc_geteipasebx'];
|
||||
|
||||
procedure actualsyscall; assembler; {inline requires a dummy push IIRC}
|
||||
asm
|
||||
int $0x80
|
||||
|
@ -26,7 +26,10 @@ implementation
|
||||
{$linklib c}
|
||||
|
||||
{$ifndef linux} // Linux (and maybe glibc platforms in general), have iconv in glibc.
|
||||
{$linklib iconv}
|
||||
{$ifndef FreeBSD5}
|
||||
{$linklib iconv}
|
||||
{$define useiconv}
|
||||
{$endif}
|
||||
{$endif linux}
|
||||
|
||||
Uses
|
||||
@ -38,7 +41,7 @@ Uses
|
||||
initc;
|
||||
|
||||
Const
|
||||
{$ifdef Linux}
|
||||
{$ifndef useiconv}
|
||||
libiconvname='c'; // is in libc under Linux.
|
||||
{$else}
|
||||
libiconvname='iconv';
|
||||
|
Loading…
Reference in New Issue
Block a user