* Fix exitcode handling for avrsim target. Patch by Christo Crause

git-svn-id: trunk@42940 -
(cherry picked from commit 05c4f45596)
This commit is contained in:
Jeppe Johansen 2019-09-07 20:21:16 +00:00 committed by florian
parent 97b0bda68d
commit 821a83f735

View File

@ -24,8 +24,7 @@ unit avrsim;
procedure PASCALMAIN; external name 'PASCALMAIN';
procedure _FPC_haltproc(exitcode : longint); public name '_haltproc'; noreturn;
procedure _FPC_haltproc; public name '_haltproc'; noreturn;
begin
EXITCODEREG:=exitcode;
HALTREQUEST:=1;