Merge branch 'sigar-1.6'
This commit is contained in:
commit
9769d17c3d
|
@ -298,6 +298,7 @@ char *sigar_os_error_string(sigar_t *sigar, int err)
|
|||
/* ARG_MAX in FreeBSD 6.0 == 262144, which blows up the stack */
|
||||
#define SIGAR_ARG_MAX 65536
|
||||
|
||||
#ifdef DARWIN
|
||||
static size_t sigar_argmax_get(sigar_t *sigar)
|
||||
{
|
||||
#ifdef KERN_ARGMAX
|
||||
|
@ -313,6 +314,7 @@ static size_t sigar_argmax_get(sigar_t *sigar)
|
|||
#endif
|
||||
return SIGAR_ARG_MAX;
|
||||
}
|
||||
#endif /* DARWIN */
|
||||
|
||||
#if defined(DARWIN)
|
||||
static int sigar_vmstat(sigar_t *sigar, vm_statistics_data_t *vmstat)
|
||||
|
|
Loading…
Reference in New Issue