mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 01:50:35 +02:00
* fix compilation without exit code
git-svn-id: trunk@18870 -
This commit is contained in:
parent
2c42d8e1e8
commit
519df6d3a8
@ -130,7 +130,11 @@ procedure haltproc(e:longint);cdecl;external name '_haltproc';
|
||||
|
||||
procedure System_exit;
|
||||
begin
|
||||
{$ifdef FPC_HAS_FEATURE_EXITCODE}
|
||||
haltproc(ExitCode);
|
||||
{$else FPC_HAS_FEATURE_EXITCODE}
|
||||
haltproc(0);
|
||||
{$endif FPC_HAS_FEATURE_EXITCODE}
|
||||
End;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user