no RLIMIT_NPROC on solaris

This commit is contained in:
Doug MacEachern committed 2005-07-08 01:51:00 +00:00
1 parent d45e112ba4
commit df369c99e6
1 file changed
+4
+4
View File
@@ -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) },