mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 10:19:28 +02:00
Fix tw28713 for big endian CPUs
git-svn-id: trunk@48795 -
This commit is contained in:
parent
5afa26ddd1
commit
f85d7d2591
@ -6,7 +6,14 @@ type
|
||||
TWordArray = array [0..1023]of Word;
|
||||
|
||||
WordRec = packed record
|
||||
{$ifdef FPC}
|
||||
{$ifdef FPC_LITTLE_ENDIAN}
|
||||
LoByte,HiByte:Byte
|
||||
{$endif}
|
||||
{$ifdef FPC_BIG_ENDIAN}
|
||||
HiByte,LoByte:Byte
|
||||
{$endif}
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
var
|
||||
|
Loading…
Reference in New Issue
Block a user