Kaynağa Gözat

Disable WASM_ENABLE_SHARED_MEMORY_MMAP by default (#3042)

Fix compilation warning.
Huang Qi 2 yıl önce
ebeveyn
işleme
64e82ca102
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  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_ */