7369bb56e3
This code was using strptime from the C library in some cases, but this function is an extension which many embedded libCs do not provide, and which is not provided by default unless _XOPEN_SOURCE or a similar macro is defined before the system headers are included. We could define _XOPEN_SOURCE for the libraries that provide it, but instead of treating the host C library differently than embedded libraries, let's just build the provided version always, as that should provide better coverage of this code. Note: It seems picolibc's strptime is broken, until this very recent patch: https://github.com/picolibc/picolibc/pull/657 so we should not select it when building for this library for a while either. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.am1805 | ||
Kconfig.ds1307 | ||
Kconfig.emul | ||
Kconfig.fake | ||
Kconfig.mc146818 | ||
Kconfig.pcf8523 | ||
Kconfig.pcf8563 | ||
Kconfig.sam | ||
Kconfig.smartbond | ||
Kconfig.stm32 | ||
rtc_am1805.c | ||
rtc_ds1307.c | ||
rtc_emul.c | ||
rtc_fake.c | ||
rtc_handlers.c | ||
rtc_ll_stm32.c | ||
rtc_mc146818.c | ||
rtc_pcf8523.c | ||
rtc_pcf8563.c | ||
rtc_sam.c | ||
rtc_shell.c | ||
rtc_smartbond.c |