* fixed objpas compilation for CPUs with 16 Bit addresses

git-svn-id: branches/avr@17104 -
This commit is contained in:
florian 2011-03-09 19:41:36 +00:00
parent de2d504f15
commit 5f06130095

View File

@ -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;