浏览代码

* defines fixed

florian 1 年之前
父节点
当前提交
40072fb762
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      rtl/linux/bunxsysc.inc
  2. 2 2
      rtl/linux/linux.pp

+ 2 - 2
rtl/linux/bunxsysc.inc

@@ -409,9 +409,9 @@ end;
 { on 32 bit systems, we should use the 64 bit time calls }
 {$if (sizeof(time_t)<=4)}
   { mipsel-android doesn't have them as it is not part of newer android versions anymode }
-  {$if not(defined(ANDROID) and defined(CPU_MIPSEL))}
+  {$if not(defined(ANDROID) and defined(CPUMIPSEL))}
     {$define USE_TIME64}
-  {$endif  not(defined(ANDROID) and defined(CPU_MIPSEL))}
+  {$endif  not(defined(ANDROID) and defined(CPUMIPSEL))}
 {$endif (sizeof(clong)<=4)}
 
 Function  FpFUtimens   (handle: cint;constref times: TTimespecArr):cint;

+ 2 - 2
rtl/linux/linux.pp

@@ -876,9 +876,9 @@ end;
 { on 32 bit systems, we should use the 64 bit time calls }
 {$if (sizeof(time_t)<=4)}
   { mipsel-android doesn't have them as it is not part of newer android versions anymode }
-  {$if not(defined(ANDROID) and defined(CPU_MIPSEL))}
+  {$if not(defined(ANDROID) and defined(CPUMIPSEL))}
     {$define USE_TIME64}
-  {$endif  not(defined(ANDROID) and defined(CPU_MIPSEL))}
+  {$endif  not(defined(ANDROID) and defined(CPUMIPSEL))}
 {$endif (sizeof(clong)<=4)}
 
 Function utimensat(dfd: cint; path:PAnsiChar;const times:TTimespecArr;flags:cint):cint;