From 64e82ca102f6a65df53225b98209c2223cb7f7a0 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 17 Jan 2024 19:29:31 +0800 Subject: [PATCH] Disable WASM_ENABLE_SHARED_MEMORY_MMAP by default (#3042) Fix compilation warning. --- core/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/config.h b/core/config.h index 440272676..ed8af92f2 100644 --- a/core/config.h +++ b/core/config.h @@ -502,4 +502,9 @@ #define WASM_ENABLE_QUICK_AOT_ENTRY 1 #endif +/* Disable mmap based shared memory by default */ +#ifndef WASM_ENABLE_SHARED_MEMORY_MMAP +#define WASM_ENABLE_SHARED_MEMORY_MMAP 0 +#endif + #endif /* end of _CONFIG_H_ */