Browse Source

Disable WASM_ENABLE_SHARED_MEMORY_MMAP by default (#3042)

Fix compilation warning.
Huang Qi 2 years ago
parent
commit
64e82ca102
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/config.h

+ 5 - 0
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_ */