mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
freertos: Change ssp_config.h due to clock_nanosleep() not supported in freertos (#2979)
This commit is contained in:
parent
f96257bade
commit
4a1ad9a160
|
@ -41,7 +41,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__EMSCRIPTEN__) \
|
#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__EMSCRIPTEN__) \
|
||||||
&& !defined(ESP_PLATFORM) && !defined(DISABLE_CLOCK_NANOSLEEP)
|
&& !defined(ESP_PLATFORM) && !defined(DISABLE_CLOCK_NANOSLEEP) \
|
||||||
|
&& !defined(BH_PLATFORM_FREERTOS)
|
||||||
#define CONFIG_HAS_CLOCK_NANOSLEEP 1
|
#define CONFIG_HAS_CLOCK_NANOSLEEP 1
|
||||||
#else
|
#else
|
||||||
#define CONFIG_HAS_CLOCK_NANOSLEEP 0
|
#define CONFIG_HAS_CLOCK_NANOSLEEP 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user