mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
fix pool commit for windows
This commit is contained in:
parent
3526b09903
commit
e5e2b789ba
1 changed files with 4 additions and 4 deletions
2
src/os.c
2
src/os.c
|
@ -321,7 +321,7 @@ void* _mi_os_alloc_aligned(size_t size, size_t alignment, mi_os_tld_t* tld)
|
|||
// For now, we disable it on windows as VirtualFree must
|
||||
// be called on the original allocation and cannot be called
|
||||
// for individual fragments.
|
||||
#if !defined(_WIN32) || (MI_INTPTR_SIZE<8)
|
||||
#if defined(_WIN32) || (MI_INTPTR_SIZE<8)
|
||||
|
||||
static void* os_pool_alloc(size_t size, size_t alignment, mi_os_tld_t* tld) {
|
||||
UNUSED(size);
|
||||
|
|
Loading…
Add table
Reference in a new issue