diff options
Diffstat (limited to 'tests/webtbs/tw28713.pp')
-rw-r--r-- | tests/webtbs/tw28713.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/webtbs/tw28713.pp b/tests/webtbs/tw28713.pp index e0879f1cc3..d27b8bb138 100644 --- a/tests/webtbs/tw28713.pp +++ b/tests/webtbs/tw28713.pp @@ -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 |