Browse Source

* Fix 32-bit compilation

(cherry picked from commit ba534b1192e3358638c5a1b5d6e8192466dea6ca)
Michaël Van Canneyt 2 năm trước cách đây
mục cha
commit
2b8ca38e79
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/fcl-image/src/fpreadtiff.pas

+ 2 - 0
packages/fcl-image/src/fpreadtiff.pas

@@ -183,12 +183,14 @@ begin
     Result:= SwapEndian(d);
 end;
 
+{$ifdef CPU64}
 function TFPReaderTiff.FixEndian(q: QWord): QWord;
 begin
   Result:=q;
   if FReverseEndian
   then Result:= SwapEndian(q);
 end;
+{$endif}
 
 procedure TFPReaderTiff.TiffError(Msg: string);
 begin