Fix zephyr sample build errors (#1757)

This commit is contained in:
Wenyong Huang
2022-11-28 11:23:51 +08:00
committed by GitHub
parent 9c5e1cb600
commit ec5ab8274d
5 changed files with 41 additions and 8 deletions

View File

@ -193,6 +193,10 @@ typedef void *(*thread_start_routine_t)(void *);
#define SCNxPTR __PRIPTR_PREFIX "x"
#endif
#ifndef NAN
#define NAN (0.0 / 0.0)
#endif
#ifdef __cplusplus
}
#endif