mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 23:09:40 +02:00
Add FPC_SYSTEM_EXIT_NO_RETURN macro for embedded target
git-svn-id: trunk@40801 -
This commit is contained in:
parent
2ceb5c9683
commit
3a52fdf997
@ -197,6 +197,7 @@ const calculated_cmdline:Pchar=nil;
|
||||
{$endif FPC_HAS_FEATURE_SOFTFPU}
|
||||
{$endif FPUNONE}
|
||||
|
||||
{$define FPC_SYSTEM_EXIT_NO_RETURN}
|
||||
{$I system.inc}
|
||||
|
||||
{*****************************************************************************
|
||||
|
@ -1020,7 +1020,8 @@ end;
|
||||
Error / Exit / ExitProc
|
||||
*****************************************************************************}
|
||||
|
||||
Procedure system_exit;forward;
|
||||
Procedure system_exit;forward;{$ifdef FPC_SYSTEM_EXIT_NO_RETURN}noreturn;{$endif}
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_HEAP}
|
||||
{$ifndef HAS_MEMORYMANAGER}
|
||||
//not needed if independant memory manager
|
||||
|
Loading…
Reference in New Issue
Block a user