wasm-micro-runtime/core/shared/platform
Wenyong Huang 3198018214
Fix linux-sgx build error when libc-wasi is disabled (#2997)
Compilation error was reported when `cmake -DWAMR_BUILD_LIBC_WASI=0`
on linux-sgx platform:
```
core/shared/platform/linux-sgx/sgx_socket.c:8:10:
fatal error: libc_errno.h: No such file or directory
    8 | #include "libc_errno.h"
      |          ^~~~~~~~~~~~~~
```
After fixing, both `cmake -DWAMR_BUILD_LIBC_WASI=1` and
`WAMR_BUILD_LIBC_WASI=0` work good.
2024-01-11 14:26:39 +08:00
..
alios Fix compilation errors on zephyr platform (#2777) 2023-11-16 18:39:41 +08:00
android Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
common Fix compilation error on iOS due to macOS-specific API (#2995) 2024-01-11 12:35:44 +08:00
cosmopolitan Abstract POSIX filesystem functions (#2585) 2023-10-19 19:19:39 +08:00
darwin Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
ego Make a workaround for EGO when fstat returns NOT_SUPPORT (#1970) 2023-02-21 11:11:27 +08:00
esp-idf Fix build failure on esp-idf platform (#2991) 2024-01-10 10:44:31 +08:00
freebsd Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
include Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00
linux Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
linux-sgx Fix linux-sgx build error when libc-wasi is disabled (#2997) 2024-01-11 14:26:39 +08:00
nuttx Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
riot Fix compilation errors on zephyr platform (#2777) 2023-11-16 18:39:41 +08:00
rt-thread Fix compilation errors on zephyr platform (#2777) 2023-11-16 18:39:41 +08:00
vxworks Extend os_mmap to support map file from fd (#2763) 2023-11-16 08:28:54 +08:00
windows Return error when shutdown() fails (#2801) 2023-11-24 21:03:59 +08:00
zephyr Fix typos in zephyr platform struct descriptions (#2818) 2023-11-24 08:47:38 +08:00
README.md re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00

This folder contains the platform abstract layer for multiple platforms. To support a new platform, you can simply create a new folder here and implement all the APIs defined in include folder.

Refer to port_wamr.md for how to port WAMR to a target platform.