提交 6eb67523 编写于 作者: armink_ztl's avatar armink_ztl

[libc/time] Fix MDK build error when using gmtime_r.

上级 3ae6ca1f
......@@ -57,6 +57,10 @@ time_t timegm(struct tm * const t);
int gettimeofday(struct timeval *tv, struct timezone *tz);
int settimeofday(const struct timeval *tv, const struct timezone *tz);
#if defined(__ARMCC_VERSION) || defined (__ICCARM__)
struct tm *gmtime_r(const time_t *timep, struct tm *r);
#endif
#ifdef RT_USING_POSIX
#include <sys/types.h>
/* posix clock and timer */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册