mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-19 00:43:16 +03:00
FreeBSD build changes and allow to run the tests.
This commit is contained in:
parent
e8ec9528ab
commit
0771ff2cea
3 changed files with 29 additions and 11 deletions
|
|
@ -390,8 +390,6 @@ os_page_detect(void) {
|
|||
SYSTEM_INFO si;
|
||||
GetSystemInfo(&si);
|
||||
return si.dwPageSize;
|
||||
#elif defined(__FreeBSD__)
|
||||
return getpagesize();
|
||||
#else
|
||||
long result = sysconf(_SC_PAGESIZE);
|
||||
if (result == -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue