Commit 04187719 authored by Fin Maaß's avatar Fin Maaß Committed by Benjamin Cabé
Browse files

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: default avatarFin Maaß <f.maass@vogl-electronic.com>
parent fc50427f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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(),