瀏覽代碼

* sparc64-linux has to use syscall_nr_gettimeofday instead of syscall_nr_time as well

git-svn-id: trunk@36761 -
florian 8 年之前
父節點
當前提交
d4e6824862
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      rtl/linux/osdefs.inc

+ 5 - 0
rtl/linux/osdefs.inc

@@ -89,3 +89,8 @@
   {$define generic_linux_syscalls}
   {$undef usestime}
 {$endif cpuaarch64}
+
+{$ifdef cpusparc64}
+  {$define FPC_USEGETTIMEOFDAY}
+{$endif cpusparc64}
+