mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 10:09:08 +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
|
||||
*****************************************************************************}
|
||||
procedure haltproc(e:longint); cdecl; external name '_haltproc';
|
||||
|
||||
Procedure system_exit;
|
||||
begin
|
||||
gemdos_pterm(ExitCode);
|
||||
haltproc(ExitCode);
|
||||
end;
|
||||
|
||||
{*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user