m68k-amiga: startup code now uses legacyexech, instead of explicitly declaring legacy support functions it needs

git-svn-id: trunk@44565 -
This commit is contained in:
Károly Balogh 2020-04-04 13:22:46 +00:00
parent 8d690546f3
commit 8816a0b601

View File

@ -32,16 +32,13 @@ var
{$if defined(AMIGA_V1_0_ONLY) or defined(AMIGA_V1_2_ONLY)}
{$define AMIGA_LEGACY}
{$include legacyexech.inc}
{$endif}
{$ifdef AMIGA_LEGACY}
var
args: pointer; public name '__fpc_args';
arglen: dword; public name '__fpc_arglen';
function AllocVec(byteSize : Cardinal; requirements: Cardinal): Pointer; external name '_fpc_amiga_allocvec';
procedure FreeVec(memoryBlock: Pointer); external name '_fpc_amiga_freevec';
procedure StackSwap(newStack: PStackSwapStruct); external name '_fpc_amiga_stackswap';
{$endif}
var