提交 83404b82 编写于 作者: B Bernard Xiong

[libc] Does export time API if RTC component is not used.

上级 9d46ae69
......@@ -27,11 +27,13 @@ RTM_EXPORT(memchr);
RTM_EXPORT(toupper);
RTM_EXPORT(atoi);
#ifdef RT_USING_RTC
RTM_EXPORT(localtime);
RTM_EXPORT(time);
#endif
/* import the full stdio for printf */
#ifdef __MICROLIB
#if defined(RT_USING_MODULE) && defined(__MICROLIB)
#error "[RT_USING_LIBC] Please use standard libc but not microlib."
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册