mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 06:59:32 +03:00
fix build warning on FreeBSD
This commit is contained in:
parent
a7c69ccbea
commit
4a5f3592c0
1 changed files with 1 additions and 0 deletions
1
src/os.c
1
src/os.c
|
@ -285,6 +285,7 @@ static void* mi_unix_mmapx(void* addr, size_t size, size_t try_alignment, int pr
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
UNUSED(try_alignment);
|
UNUSED(try_alignment);
|
||||||
|
UNUSED(mi_os_get_aligned_hint);
|
||||||
#endif
|
#endif
|
||||||
if (p==NULL) {
|
if (p==NULL) {
|
||||||
p = mmap(addr,size,protect_flags,flags,fd,0);
|
p = mmap(addr,size,protect_flags,flags,fd,0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue