fix typo and build on osx

This commit is contained in:
Wez Furlong 2007-03-17 17:34:33 +00:00
parent c9b695687f
commit 8f2686cc81

View file

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