* fix trange5 for big endian machines

This commit is contained in:
pierre 2003-03-07 11:11:04 +00:00
parent 670c206758
commit 6f8c7b37c4

View File

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