diff --git a/compiler/scanner.pas b/compiler/scanner.pas index 61a83a789f..57830d33de 100644 --- a/compiler/scanner.pas +++ b/compiler/scanner.pas @@ -2715,9 +2715,6 @@ type procedure tscannerfile.tokenwriteshortint(val : shortint); begin -{$ifdef FPC_BIG_ENDIAN} - val:=swapendian(val); -{$endif} recordtokenbuf.write(val,sizeof(shortint)); end;