mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 02:32:51 +02:00
* use the already existing TNative(U)IntNibbleIndex types for the TORDINALNIBBLEINDEX macro as this way memory models with far pointers (where Native(U)Int has a size of 4) is handled correctly as well
This commit is contained in:
parent
89aeedac1e
commit
5412e463ff
@ -329,15 +329,7 @@ end;
|
||||
|
||||
{$define TORDINALHELPER:=TNativeIntSysHelper}
|
||||
{$define TORDINALBITINDEX:=TNativeIntBitIndex}
|
||||
{$ifdef cpu16}
|
||||
{$define TORDINALNIBBLEINDEX:=TSmallIntNibbleIndex}
|
||||
{$endif}
|
||||
{$ifdef cpu32}
|
||||
{$define TORDINALNIBBLEINDEX:=TIntegerNibbleIndex}
|
||||
{$endif}
|
||||
{$ifdef cpu64}
|
||||
{$define TORDINALNIBBLEINDEX:=TInt64NibbleIndex}
|
||||
{$endif}
|
||||
{$define TORDINALNIBBLEINDEX:=TNativeIntNibbleIndex}
|
||||
{$i syshelperso.inc}
|
||||
|
||||
{ ---------------------------------------------------------------------
|
||||
@ -346,15 +338,7 @@ end;
|
||||
|
||||
{$define TORDINALHELPER:=TNativeUIntSysHelper}
|
||||
{$define TORDINALBITINDEX:=TNativeUIntBitIndex}
|
||||
{$ifdef cpu16}
|
||||
{$define TORDINALNIBBLEINDEX:=TWordNibbleIndex}
|
||||
{$endif}
|
||||
{$ifdef cpu32}
|
||||
{$define TORDINALNIBBLEINDEX:=TDwordNibbleIndex}
|
||||
{$endif}
|
||||
{$ifdef cpu64}
|
||||
{$define TORDINALNIBBLEINDEX:=TQwordNibbleIndex}
|
||||
{$endif}
|
||||
{$define TORDINALNIBBLEINDEX:=TNativeUIntNibbleIndex}
|
||||
{$i syshelperso.inc}
|
||||
|
||||
{ ---------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user