mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 09:47:52 +02:00
Include setsysnr.inc and call SetSyscallNumbers if FPC_HAS_SETSYSNR_INC is defined
git-svn-id: trunk@29135 -
This commit is contained in:
parent
6141820af3
commit
1d1215ede3
@ -90,4 +90,12 @@ Uses Sysctl;
|
||||
{$i osmacro.inc} { macro implenenations }
|
||||
{$i bunxovl.inc} { redefs and overloads implementation }
|
||||
|
||||
{$ifdef FPC_HAS_SETSYSNR_INC}
|
||||
{$I setsysnr.inc}
|
||||
{$endif FPC_HAS_SETSYSNR_INC}
|
||||
|
||||
{$ifdef FPC_HAS_SETSYSNR_INC}
|
||||
begin
|
||||
SetSyscallNumbers;
|
||||
{$endif FPC_HAS_SETSYSNR_INC}
|
||||
end.
|
||||
|
@ -7,5 +7,13 @@ interface
|
||||
{$i syscallh.inc}
|
||||
|
||||
implementation
|
||||
{$ifdef FPC_HAS_SETSYSNR_INC}
|
||||
{$define FPC_COMPILING_SYSCALL_UNIT}
|
||||
{$I setsysnr.inc}
|
||||
{$endif FPC_HAS_SETSYSNR_INC}
|
||||
|
||||
{$ifdef FPC_HAS_SETSYSNR_INC}
|
||||
begin
|
||||
SetSyscallNumbers;
|
||||
{$endif FPC_HAS_SETSYSNR_INC}
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user