You've already forked lazarus-ccr
fpexif: Fix compilation of unit test project with Delphi 7.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8063 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -318,7 +318,9 @@ var
|
|||||||
tagPos: Int64;
|
tagPos: Int64;
|
||||||
newPos: Int64;
|
newPos: Int64;
|
||||||
begin
|
begin
|
||||||
|
{$IFDEF FPC}
|
||||||
ifdRec := Default(TIFDRecord);
|
ifdRec := Default(TIFDRecord);
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
// Read count of directory entries
|
// Read count of directory entries
|
||||||
numRecords := FixEndian16(ReadWord(AStream));
|
numRecords := FixEndian16(ReadWord(AStream));
|
||||||
|
@ -402,7 +402,11 @@ var
|
|||||||
headerSize: Word;
|
headerSize: Word;
|
||||||
n, count: Int64;
|
n, count: Int64;
|
||||||
savedPos: Int64;
|
savedPos: Int64;
|
||||||
|
{$IFDEF FPC}
|
||||||
s: RawByteString;
|
s: RawByteString;
|
||||||
|
{$ELSE}
|
||||||
|
s: String;
|
||||||
|
{$ENDIF}
|
||||||
begin
|
begin
|
||||||
// Write the header segment and all metadata segments stored in TImgInfo
|
// Write the header segment and all metadata segments stored in TImgInfo
|
||||||
// to the beginning of the stream
|
// to the beginning of the stream
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
unit fpeUtils;
|
unit fpeUtils;
|
||||||
|
|
||||||
{$IFDEF FPC}
|
{$IFDEF FPC}
|
||||||
{$mode ObjFPC}{$H+}
|
{$mode ObjFPC}{$H+}
|
||||||
|
Reference in New Issue
Block a user