mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 04:39:38 +02:00
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:
parent
8d690546f3
commit
8816a0b601
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user