Define the global variable `USE_GLOBAL_HEAP_BUF` as `1`. This is
required to properly allocate memory for Unikraft.
Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Stefan Jumarea <stefanjumarea02@gmail.com>
GitHub-Closes: #9
--- /dev/null
+--- a/core/iwasm/products/linux/main.c
++++ b/core/iwasm/products/linux/main.c
+@@ -158,7 +158,7 @@ app_instance_repl(wasm_module_inst_t module_inst)
+ return NULL;
+ }
+
+-#define USE_GLOBAL_HEAP_BUF 0
++#define USE_GLOBAL_HEAP_BUF 1
+
+ #if USE_GLOBAL_HEAP_BUF != 0
+ static char global_heap_buf[10 * 1024 * 1024] = { 0 };