mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:29:17 +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
(cherry picked from commit 5412e463ff
)
This commit is contained in:
parent
87ad8e2622
commit
28006018ac
@ -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