no RLIMIT_NPROC on solaris
This commit is contained in:
1 parent
d45e112ba4
commit
df369c99e6
1 file changed
+4
@@ -860,6 +860,10 @@ typedef struct {
|
||||
#define RLIMIT_RSS RLIMIT_UNSUPPORTED
|
||||
#endif
|
||||
|
||||
#ifndef RLIMIT_NPROC
|
||||
#define RLIMIT_NPROC RLIMIT_UNSUPPORTED
|
||||
#endif
|
||||
|
||||
static rlimit_field_t sigar_rlimits[] = {
|
||||
{ RLIMIT_CPU, RlimitOffsets(cpu) },
|
||||
{ RLIMIT_FSIZE, RlimitOffsets(file_size) },
|
||||
|
||||
Reference in new issue
Block a user