未验证 提交 9c255e7d 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1899 from hichard/master

修复iar dlib时间映射函数的函数声明,适应不同版本的iar
......@@ -42,9 +42,9 @@ int gettimeofday(struct timeval *tp, void *ignore)
*/
#pragma module_name = "?time"
#if _DLIB_TIME_ALLOW_64
time_t __time64(time_t *t)
__time64_t __time64(__time64_t *t)
#else
time_t __time32(time_t *t)
__time32_t __time32(__time32_t *t)
#endif
{
time_t time_now = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册