mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 22:10:19 +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}
|
{$DEFINE ErrnoWord}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
Procedure fpc_geteipasebx;[external name 'fpc_geteipasebx'];
|
||||||
|
|
||||||
procedure actualsyscall; assembler; {inline requires a dummy push IIRC}
|
procedure actualsyscall; assembler; {inline requires a dummy push IIRC}
|
||||||
asm
|
asm
|
||||||
int $0x80
|
int $0x80
|
||||||
|
@ -26,7 +26,10 @@ implementation
|
|||||||
{$linklib c}
|
{$linklib c}
|
||||||
|
|
||||||
{$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.
|
||||||
{$linklib iconv}
|
{$ifndef FreeBSD5}
|
||||||
|
{$linklib iconv}
|
||||||
|
{$define useiconv}
|
||||||
|
{$endif}
|
||||||
{$endif linux}
|
{$endif linux}
|
||||||
|
|
||||||
Uses
|
Uses
|
||||||
@ -38,7 +41,7 @@ Uses
|
|||||||
initc;
|
initc;
|
||||||
|
|
||||||
Const
|
Const
|
||||||
{$ifdef Linux}
|
{$ifndef useiconv}
|
||||||
libiconvname='c'; // is in libc under Linux.
|
libiconvname='c'; // is in libc under Linux.
|
||||||
{$else}
|
{$else}
|
||||||
libiconvname='iconv';
|
libiconvname='iconv';
|
||||||
|
Loading…
Reference in New Issue
Block a user