mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 02:29:18 +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;
|
PString = PAnsiString;
|
||||||
|
|
||||||
{ array types }
|
{ array types }
|
||||||
|
{$ifdef CPU16}
|
||||||
|
IntegerArray = array[0..$eff] of Integer;
|
||||||
|
{$else CPU16}
|
||||||
IntegerArray = array[0..$effffff] of Integer;
|
IntegerArray = array[0..$effffff] of Integer;
|
||||||
|
{$endif CPU16}
|
||||||
TIntegerArray = IntegerArray;
|
TIntegerArray = IntegerArray;
|
||||||
PIntegerArray = ^IntegerArray;
|
PIntegerArray = ^IntegerArray;
|
||||||
|
{$ifdef CPU16}
|
||||||
|
PointerArray = array [0..16*1024-2] of Pointer;
|
||||||
|
{$else CPU16}
|
||||||
PointerArray = array [0..512*1024*1024-2] of Pointer;
|
PointerArray = array [0..512*1024*1024-2] of Pointer;
|
||||||
|
{$endif CPU16}
|
||||||
TPointerArray = PointerArray;
|
TPointerArray = PointerArray;
|
||||||
PPointerArray = ^PointerArray;
|
PPointerArray = ^PointerArray;
|
||||||
TBoundArray = array of integer;
|
TBoundArray = array of integer;
|
||||||
|
Loading…
Reference in New Issue
Block a user