Adapt USE_STATX code to FPC_DOTTEDUNITS

This commit is contained in:
Pierre Muller 2023-08-02 14:18:26 +02:00
parent 34169d4fbd
commit 603614e28e

View File

@ -997,7 +997,7 @@ end;
Function FindGetFileInfo(const s: RawByteString; var f: TAbstractSearchRec; var Name: RawByteString):boolean;
Var
{$ifdef USE_STATX}
stx : linux.tstatx;
stx : {$ifdef FPC_DOTTEDUNITS}LinuxApi.{$else}linux.{$endif}tstatx;
{$endif USE_STATX}
st : BU.stat;
WinAttr : longint;