提交 be48c3c4 编写于 作者: T tanek liang

[libc] fix time () not found when no RT_USING_RTC defined

上级 34ee3dfd
......@@ -327,3 +327,12 @@ int fgetc(FILE *f)
return -1;
}
#endif
#ifndef RT_USING_RTC
time_t time(time_t *t)
{
time_t time_now = 0;
return time_now;
}
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册