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;
|
return sigar->lcpu;
|
||||||
#elif defined(__sun)
|
#elif defined(__sun) || defined(__hpux) || defined(_AIX)
|
||||||
return 1;
|
return 1;
|
||||||
#else
|
#else
|
||||||
sigar->lcpu = 1;
|
sigar->lcpu = 1;
|
||||||
|
|
Loading…
Reference in New Issue