wasm-micro-runtime/core/shared/platform/android
Wenyong Huang ade73f6142
Fix compilation error on Android platform (#2594)
The CI might use clang-17 to build iwasm for Android platform and it may
report compilation error:
https://github.com/bytecodealliance/wasm-micro-runtime/actions/runs/6308980430/job/17128073777

/home/runner/work/wasm-micro-runtime/wasm-micro-runtime/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/blocking_op.c:45:19: error: call to undeclared function 'preadv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    ssize_t ret = preadv(fd, iov, iovcnt, offset);
                  ^

Explicitly declare preadv and pwritev in android platform header file to resolve it.
2023-09-26 16:13:12 +08:00
..
platform_init.c Upgrade uvwasi to 1.42.0 and fix Android link issues (#938) 2022-01-06 18:25:37 +08:00
platform_internal.h Fix compilation error on Android platform (#2594) 2023-09-26 16:13:12 +08:00
shared_platform.cmake re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00