wasm-micro-runtime/core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src
Georgii Rylov 0899638ece
Use a manual flag to disable clock_nanosleep on the unsupported platforms (#2176)
For some platforms WAMR gets compiled with `CONFIG_HAS_CLOCK_NANOSLEEP=1`,
while `clock_nanosleep` is not present at the platform, which causes compilation error.

Add check for macro `DISABLE_CLOCK_NANOSLEEP` to resolve the issue, only when
the macro isn't defined can the macro `CONFIG_HAS_CLOCK_NANOSLEEP` take effect.
2023-05-12 07:49:21 +08:00
..
gnuc.h Enable gcc-4.8 compilation (#1928) 2023-02-02 19:34:20 +08:00
LICENSE Enable AoT and wamr-sdk, and change arguments of call wasm API (#157) 2020-01-21 13:26:14 +08:00
locking.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
posix.c libc-wasi/posix.c: Fix POLL{RD,WR}NORM in uClibc (#2069) 2023-03-28 11:20:31 +08:00
posix.h Merge dev/socket into main (#1393) 2022-09-22 21:46:14 +08:00
queue.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
random.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
random.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
README.md Rename "master" branch to "main" 2020-06-27 02:39:47 -07:00
refcount.h Enable gcc-4.8 compilation (#1928) 2023-02-02 19:34:20 +08:00
rights.h Implement part of Berkeley Socket API for libc-wasi (#1036) 2022-03-10 15:13:38 +08:00
ssp_config.h Use a manual flag to disable clock_nanosleep on the unsupported platforms (#2176) 2023-05-12 07:49:21 +08:00
str.c Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00
str.h Apply clang-format for core/iwasm compilation and libraries (#784) 2021-10-13 15:13:00 +08:00

This directory consists of selected files copied from the [src/libemulator] directory in the cloudabi-utils repository, with minor modifications, along with the accompanying LICENSE file from that repository.

The modifications are marked with WASMTIME_* preprocessor macros.

The files were copied at git revision 223dadc53248552db43e012c67ed08cf416a2b12 which is dated Tue Jun 25 17:22:07 2019 -0700 .