mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 14:39:31 +03:00
use wasm_memory_grow instead of sbrk on wasm
This commit is contained in:
parent
b0a866685d
commit
27e24e619b
1 changed files with 0 additions and 4 deletions
4
src/os.c
4
src/os.c
|
@ -26,10 +26,6 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
#pragma warning(disable:4996) // strerror
|
||||
#endif
|
||||
|
||||
#if defined(__wasi__)
|
||||
#define MI_USE_SBRK
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#elif defined(__wasi__)
|
||||
|
|
Loading…
Add table
Reference in a new issue