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