修复iar dlib时间映射函数的函数声明,适应不同版本的iar

This commit is contained in:
hichard 2018-10-15 19:45:16 +08:00
parent f763f8e728
commit 61656e23f2
1 changed files with 2 additions and 2 deletions

View File

@ -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;