Disable WASM_ENABLE_SHARED_MEMORY_MMAP by default (#3042)

Fix compilation warning.
This commit is contained in:
Huang Qi 2024-01-17 19:29:31 +08:00 committed by GitHub
parent dcaaed0160
commit 64e82ca102
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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_ */