瀏覽代碼

* compilation on linux with FPC_USE_LIBC fixed

florian 1 年之前
父節點
當前提交
785e259e62
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;
 
   TTimespecArr = tkernel_timespecs;
+{$else FPC_USE_LIBC}
+  TTimespecArr = array[0..1] of ttimespec;
 {$endif FPC_USE_LIBC}