* 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 -
This commit is contained in:
Károly Balogh 2020-09-09 15:15:52 +00:00
parent b49aa071ca
commit 277d98431c

View File

@ -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))}