mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 22:49:20 +02:00
* rtl/atari: use the haltproc declared in the startup code instead of calling pterm in the system unit directly.
This commit is contained in:
parent
b30a1bf447
commit
93494bf8bf
@ -133,9 +133,11 @@ var
|
|||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
System Dependent Exit code
|
System Dependent Exit code
|
||||||
*****************************************************************************}
|
*****************************************************************************}
|
||||||
|
procedure haltproc(e:longint); cdecl; external name '_haltproc';
|
||||||
|
|
||||||
Procedure system_exit;
|
Procedure system_exit;
|
||||||
begin
|
begin
|
||||||
gemdos_pterm(ExitCode);
|
haltproc(ExitCode);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{*****************************************************************************
|
{*****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user