Преглед изворни кода

* linux: use ugetrlimit syscall on m68k for rlimits retrieval. this fixes fpgetrlimit() call, and stack checking on Linux/m68k (tstack.pp test), at least on anything newer than kernel 2.4+ (2001)

git-svn-id: trunk@46811 -
Károly Balogh пре 4 година
родитељ
комит
277d98431c
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      rtl/linux/osdefs.inc

+ 4 - 2
rtl/linux/osdefs.inc

@@ -28,9 +28,11 @@
   {$endif}
 {$endif}
 
-{$if defined(cpupowerpc) or defined(cpupowerpc64) or defined(cpui386) or
+{$if defined(cpupowerpc) or defined(cpupowerpc64) or
+  defined(cpui386) or
+  defined(cpum68k) or
   (defined(cpuarm) and defined(FPC_ABI_EABI))}
-  {$DEFINE has_ugetrlimit}
+  {$define HAS_UGETRLIMIT}
 {$endif}
 
 {$if (defined(cpuarm) and defined(FPC_ABI_EABI))}