fix hpux+aix compile
This commit is contained in:
parent
23090b54b6
commit
e3f6a1bbd7
|
@ -579,7 +579,7 @@ int sigar_cpu_core_count(sigar_t *sigar)
|
|||
}
|
||||
|
||||
return sigar->lcpu;
|
||||
#elif defined(__sun)
|
||||
#elif defined(__sun) || defined(__hpux) || defined(_AIX)
|
||||
return 1;
|
||||
#else
|
||||
sigar->lcpu = 1;
|
||||
|
|
Loading…
Reference in New Issue