mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 18:49:27 +02:00
Avoid double declaration of seterrno
This commit is contained in:
parent
b1e1a107d3
commit
9dc75c3005
@ -26,8 +26,9 @@ uses
|
|||||||
{$endif FPC_HAS_SETSYSNR_INC}
|
{$endif FPC_HAS_SETSYSNR_INC}
|
||||||
|
|
||||||
{$ifdef FPC_USE_LIBC}
|
{$ifdef FPC_USE_LIBC}
|
||||||
|
{$if not declared(seterrno)}
|
||||||
procedure seterrno(err:cint); external name 'FPC_SYS_SETERRNO';
|
procedure seterrno(err:cint); external name 'FPC_SYS_SETERRNO';
|
||||||
|
{$endif}
|
||||||
{$I syscall.inc}
|
{$I syscall.inc}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user