From 27e24e619b7ed3fbc20ab74060a10fc1e2f30bf7 Mon Sep 17 00:00:00 2001 From: daan Date: Thu, 16 Dec 2021 15:11:47 -0800 Subject: [PATCH] use wasm_memory_grow instead of sbrk on wasm --- src/os.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/os.c b/src/os.c index 45182f64..71b371d2 100644 --- a/src/os.c +++ b/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 #elif defined(__wasi__)