mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-03-15 19:31:43 +00:00
[fix][libc] use default pthread type when not define CONFIG_POSIX
This commit is contained in:
parent
46b6b22b7f
commit
22a6782980
1 changed files with 3 additions and 1 deletions
|
@ -219,7 +219,9 @@ typedef __suseconds_t suseconds_t;
|
|||
typedef __int64_t sbintime_t;
|
||||
|
||||
#include <sys/features.h>
|
||||
// #include <sys/_pthreadtypes.h>
|
||||
#ifndef CONFIG_POSIX
|
||||
#include <sys/_pthreadtypes.h>
|
||||
#endif
|
||||
#include <machine/types.h>
|
||||
|
||||
#endif /* !__need_inttypes */
|
||||
|
|
Loading…
Add table
Reference in a new issue