fix typo and build on osx
This commit is contained in:
parent
c9b695687f
commit
8f2686cc81
|
@ -88,7 +88,7 @@ umem_type_init(caddr_t start, size_t len, size_t pgsize)
|
||||||
SYSTEM_INFO info;
|
SYSTEM_INFO info;
|
||||||
GetSystemInfo(&info);
|
GetSystemInfo(&info);
|
||||||
pagesize = info.dwPageSize;
|
pagesize = info.dwPageSize;
|
||||||
#elseif !defined(__FreeBSD__)
|
#elif !defined(__FreeBSD__)
|
||||||
pagesize = _sysconf(_SC_PAGESIZE);
|
pagesize = _sysconf(_SC_PAGESIZE);
|
||||||
#else
|
#else
|
||||||
pagesize = PAGE_SIZE;
|
pagesize = PAGE_SIZE;
|
||||||
|
|
Loading…
Reference in a new issue