mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-21 15:41:41 +08:00
修复iar dlib时间映射函数的函数声明,适应不同版本的iar
This commit is contained in:
@@ -42,9 +42,9 @@ int gettimeofday(struct timeval *tp, void *ignore)
|
|||||||
*/
|
*/
|
||||||
#pragma module_name = "?time"
|
#pragma module_name = "?time"
|
||||||
#if _DLIB_TIME_ALLOW_64
|
#if _DLIB_TIME_ALLOW_64
|
||||||
time_t __time64(time_t *t)
|
__time64_t __time64(__time64_t *t)
|
||||||
#else
|
#else
|
||||||
time_t __time32(time_t *t)
|
__time32_t __time32(__time32_t *t)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
time_t time_now = 0;
|
time_t time_now = 0;
|
||||||
|
Reference in New Issue
Block a user