band-aide until _SC_PHYS_PAGES actually is defined
This commit is contained in:
parent
143943aa35
commit
a7e88f95bd
@ -576,9 +576,11 @@ yesno: if (sysctl(mib, 2, &value, &len, NULL, 0) == -1)
|
||||
mib[1] = HW_NCPU;
|
||||
break;
|
||||
|
||||
#ifdef _SC_PHYS_PAGES
|
||||
case _SC_PHYS_PAGES:
|
||||
sname = "hw.availpages";
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
errno = EINVAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user