fix hpux+aix compile

This commit is contained in:
Doug MacEachern 2008-04-29 05:57:12 +00:00
parent 23090b54b6
commit e3f6a1bbd7
1 changed files with 1 additions and 1 deletions

View File

@ -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;