Explorar el Código

* Fix 32-bit compilation

Michaël Van Canneyt hace 2 años
padre
commit
ba534b1192
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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