Forráskód Böngészése

* compilation on linux with FPC_USE_LIBC fixed

florian 1 éve
szülő
commit
785e259e62
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      rtl/linux/ostypes.inc

+ 2 - 0
rtl/linux/ostypes.inc

@@ -529,4 +529,6 @@ const
   tkernel_timespecs = array[0..1] of kernel_timespec;
   tkernel_timespecs = array[0..1] of kernel_timespec;
 
 
   TTimespecArr = tkernel_timespecs;
   TTimespecArr = tkernel_timespecs;
+{$else FPC_USE_LIBC}
+  TTimespecArr = array[0..1] of ttimespec;
 {$endif FPC_USE_LIBC}
 {$endif FPC_USE_LIBC}