* Fixed compilations on non-unix platforms, where the stat-record is not available

git-svn-id: trunk@28901 -
This commit is contained in:
joost 2014-10-24 11:15:08 +00:00
parent e7a853f9b2
commit ac85ad39df

View File

@ -4727,7 +4727,9 @@ end;
procedure TBuildEngine.AddFileToArchive(const APackage: TPackage; const ASourceFileName, ADestFileName: String);
var
SourceDir: string;
{$ifdef UNIX}
FileStat: stat;
{$endif UNIX}
begin
{$ifdef CREATE_TAR_FILE}
{$ifdef HAS_TAR_SUPPORT}