提交 3b957d75 编写于 作者: H hichard

修复IAR的dlib时间映射,支持64bit的时间。

上级 37d25e32
......@@ -32,12 +32,11 @@ int gettimeofday(struct timeval *tp, void *ignore)
* @return time_t return timestamp current.
*
*/
/* for IAR 6.2 later Compiler */
#if defined (__IAR_SYSTEMS_ICC__) && (__VER__) >= 6020000
#pragma module_name = "?time"
time_t (__time32)(time_t *t) /* Only supports 32-bit timestamp */
#if _DLIB_TIME_ALLOW_64
time_t __time64(time_t *t)
#else
time_t time(time_t *t)
time_t __time32(time_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.
先完成此消息的编辑!
想要评论请 注册