Merge pull request #3703 from xiangxistu/master

[fix] lwip clock confict with minilibc clock
This commit is contained in:
Bernard Xiong 2020-06-18 17:30:16 +08:00 committed by GitHub
commit f13b322e96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ typedef uintptr_t mem_ptr_t;
#endif /* __CC_ARM/__IAR_SYSTEMS_ICC__ */
#endif
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC)
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC) || defined(RT_LIBC_USING_TIME)
#include <sys/time.h>
#define LWIP_TIMEVAL_PRIVATE 0
#else

View File

@ -45,7 +45,7 @@
#define S32_F "ld"
#define X32_F "lx"
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC)
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC) || defined(RT_LIBC_USING_TIME)
#include <sys/time.h>
#define LWIP_TIMEVAL_PRIVATE 0
#else

View File

@ -61,7 +61,7 @@
#define LWIP_PROVIDE_ERRNO
#endif
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC)
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC) || defined(RT_LIBC_USING_TIME)
#include <sys/time.h>
#define LWIP_TIMEVAL_PRIVATE 0
#else