RLIMIT_AS is RLIMIT_RSS on MacOSX 10.3.x
This commit is contained in:
parent
a3410ce4d4
commit
b1ae2b2f24
|
@ -1442,7 +1442,11 @@ typedef struct {
|
|||
#define RLIMIT_PSIZE (RLIM_NLIMITS+3)
|
||||
|
||||
#ifndef RLIMIT_AS
|
||||
# if defined(RLIMIT_VMEM)
|
||||
# define RLIMIT_AS RLIMIT_VMEM
|
||||
# elif defined(RLIMIT_RSS)
|
||||
# define RLIMIT_AS RLIMIT_RSS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static rlimit_field_t sigar_rlimits[] = {
|
||||
|
|
Loading…
Reference in New Issue