mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Compilation for non macOS
This commit is contained in:
parent
c1cfc84933
commit
8e147eeefc
1 changed files with 4 additions and 0 deletions
|
|
@ -401,7 +401,9 @@ var
|
|||
LinkAttrs: TFileAttrs;
|
||||
begin
|
||||
Result := TFile.Create(APath);
|
||||
{$IF DEFINED(DARWIN)}
|
||||
Result.SetPropertyLazyLoader(@PropertyLazyLoader);
|
||||
{$ENDIF}
|
||||
|
||||
with Result do
|
||||
begin
|
||||
|
|
@ -477,7 +479,9 @@ begin
|
|||
raise EFileNotFound.Create(aFilePath);
|
||||
|
||||
Result := TFile.Create(ExtractFilePath(aFilePath));
|
||||
{$IF DEFINED(DARWIN)}
|
||||
Result.SetPropertyLazyLoader(@PropertyLazyLoader);
|
||||
{$ENDIF}
|
||||
FillFromStat(Result, aFilePath, @StatInfo);
|
||||
|
||||
{$ELSE}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue