Ver Fonte

Adapt USE_STATX code to FPC_DOTTEDUNITS

Pierre Muller há 2 anos atrás
pai
commit
e287c0dd03
1 ficheiros alterados com 1 adições e 1 exclusões
  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;