fix hpux+aix compile
This commit is contained in:
1 parent
23090b54b6
commit
e3f6a1bbd7
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user