mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:49:35 +02:00
* typecasting qword into dword array now respects spu endianess
This commit is contained in:
parent
754077f199
commit
fdfb33d117
@ -7,9 +7,20 @@ uses
|
|||||||
{$endif go32v2}
|
{$endif go32v2}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
{$ifdef CPU68K}
|
||||||
|
{$define SOURCE_ENDIAN_BIG}
|
||||||
|
{$endif}
|
||||||
|
|
||||||
|
{$ifdef CPUPOWERPC}
|
||||||
|
{$define SOURCE_ENDIAN_BIG}
|
||||||
|
{$endif}
|
||||||
type
|
type
|
||||||
tqwordrec = packed record
|
tqwordrec = packed record
|
||||||
|
{$ifndef SOURCE_ENDIAN_BIG}
|
||||||
low,high : dword;
|
low,high : dword;
|
||||||
|
{$else}
|
||||||
|
high, low : dword;
|
||||||
|
{$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure dumpqword(q : qword);
|
procedure dumpqword(q : qword);
|
||||||
|
Loading…
Reference in New Issue
Block a user