lib: posix: set default of POSIX_C_LANG_SUPPORT_R
enable POSIX_C_LANG_SUPPORT_R by default if the functions are already provided by the toolchain. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
fc50427f3e
commit
0418771902
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ config POSIX_C_LANG_SUPPORT_R
|
|||
select COMMON_LIBC_CTIME_R if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
|
||||
select COMMON_LIBC_GMTIME_R if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
|
||||
select COMMON_LIBC_LOCALTIME_R_UTC if ! TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
|
||||
default y if TC_PROVIDES_POSIX_C_LANG_SUPPORT_R
|
||||
help
|
||||
Select 'y' here and Zephyr will provide an implementation of the POSIX_C_LANG_SUPPORT_R
|
||||
Option Group, consisting of asctime_r(), ctime_r(), gmtime_r(), localtime_r(), rand_r(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue