mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 06:29:32 +02:00
* fix trange5 for big endian machines
This commit is contained in:
parent
670c206758
commit
6f8c7b37c4
@ -1,8 +1,18 @@
|
||||
{$mode objfpc}
|
||||
uses sysutils;
|
||||
|
||||
{$ifndef FPC}
|
||||
{$define ENDIAN_LITTLE}
|
||||
{$endif}
|
||||
type
|
||||
int64rec = record lo,hi:cardinal end;
|
||||
int64rec = record
|
||||
{$ifdef ENDIAN_LITTLE}
|
||||
lo,hi:
|
||||
{$else }
|
||||
hi,lo :
|
||||
{$endif}
|
||||
cardinal;
|
||||
end;
|
||||
|
||||
var
|
||||
haserror,
|
||||
|
Loading…
Reference in New Issue
Block a user