mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 18:09:31 +02:00
* Fixed compilations on non-unix platforms, where the stat-record is not available
git-svn-id: trunk@28901 -
This commit is contained in:
parent
e7a853f9b2
commit
ac85ad39df
@ -4727,7 +4727,9 @@ end;
|
|||||||
procedure TBuildEngine.AddFileToArchive(const APackage: TPackage; const ASourceFileName, ADestFileName: String);
|
procedure TBuildEngine.AddFileToArchive(const APackage: TPackage; const ASourceFileName, ADestFileName: String);
|
||||||
var
|
var
|
||||||
SourceDir: string;
|
SourceDir: string;
|
||||||
|
{$ifdef UNIX}
|
||||||
FileStat: stat;
|
FileStat: stat;
|
||||||
|
{$endif UNIX}
|
||||||
begin
|
begin
|
||||||
{$ifdef CREATE_TAR_FILE}
|
{$ifdef CREATE_TAR_FILE}
|
||||||
{$ifdef HAS_TAR_SUPPORT}
|
{$ifdef HAS_TAR_SUPPORT}
|
||||||
|
Loading…
Reference in New Issue
Block a user