mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* fixed objpas compilation for CPUs with 16 Bit addresses
git-svn-id: branches/avr@17104 -
This commit is contained in:
parent
de2d504f15
commit
5f06130095
@ -32,10 +32,18 @@ unit objpas;
|
||||
PString = PAnsiString;
|
||||
|
||||
{ array types }
|
||||
{$ifdef CPU16}
|
||||
IntegerArray = array[0..$eff] of Integer;
|
||||
{$else CPU16}
|
||||
IntegerArray = array[0..$effffff] of Integer;
|
||||
{$endif CPU16}
|
||||
TIntegerArray = IntegerArray;
|
||||
PIntegerArray = ^IntegerArray;
|
||||
{$ifdef CPU16}
|
||||
PointerArray = array [0..16*1024-2] of Pointer;
|
||||
{$else CPU16}
|
||||
PointerArray = array [0..512*1024*1024-2] of Pointer;
|
||||
{$endif CPU16}
|
||||
TPointerArray = PointerArray;
|
||||
PPointerArray = ^PointerArray;
|
||||
TBoundArray = array of integer;
|
||||
|
Loading…
Reference in New Issue
Block a user