This commit is contained in:
pathletboy 2015-11-22 12:36:37 +08:00
commit a50c2cbbb3
1 changed files with 3 additions and 1 deletions

View File

@ -27,11 +27,13 @@ RTM_EXPORT(memchr);
RTM_EXPORT(toupper); RTM_EXPORT(toupper);
RTM_EXPORT(atoi); RTM_EXPORT(atoi);
#ifdef RT_USING_RTC
RTM_EXPORT(localtime); RTM_EXPORT(localtime);
RTM_EXPORT(time); RTM_EXPORT(time);
#endif
/* import the full stdio for printf */ /* 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." #error "[RT_USING_LIBC] Please use standard libc but not microlib."
#endif #endif