소스 검색

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

git-svn-id: trunk@28901 -
joost 11 년 전
부모
커밋
ac85ad39df
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/fpmkunit/src/fpmkunit.pp

+ 2 - 0
packages/fpmkunit/src/fpmkunit.pp

@@ -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}