Explorar o código

Adapt USE_STATX code to FPC_DOTTEDUNITS

Pierre Muller %!s(int64=2) %!d(string=hai) anos
pai
achega
603614e28e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/unix/sysutils.pp

+ 1 - 1
rtl/unix/sysutils.pp

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