lazutils; fixed compilation under unix

git-svn-id: trunk@41160 -
This commit is contained in:
mattias 2013-05-12 18:20:15 +00:00
parent d219baae5f
commit 8e652015ad

View File

@ -666,7 +666,7 @@ begin
if (FileInfo.Name='.') or (FileInfo.Name='..') or (FileInfo.Name='') then
continue;
CurFilename:=CurSrcDir+FileInfo.Name;
if (FileInfo.Attr and faDirectory)>0
if ((FileInfo.Attr and faDirectory)>0)
{$ifdef unix} and ((FileInfo.Attr and faSymLink)=0) {$endif unix} then begin
if not DeleteDirectory(CurFilename,false) then exit;
end else begin