Fix os_cond_timedwait and other issues for NuttX sim/macOS (#562)

This commit is contained in:
YAMAMOTO Takashi
2021-05-31 10:56:47 +09:00
committed by GitHub
parent 631838cfd9
commit 15dd651539
6 changed files with 22 additions and 8 deletions

View File

@ -33,6 +33,10 @@ extern "C" {
#define BH_FREE os_free
#endif
#ifndef BH_TIME_T_MAX
#define BH_TIME_T_MAX LONG_MAX
#endif
#if defined(_MSC_BUILD)
#if defined(COMPILING_WASM_RUNTIME_API)
__declspec(dllexport) void *BH_MALLOC(unsigned int size);