mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 18:49:14 +02:00
* 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:
parent
b49aa071ca
commit
277d98431c
@ -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))}
|
||||
|
Loading…
Reference in New Issue
Block a user