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