[fix] lwip clock confict with minilib clock
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
This commit is contained in:
parent
7945e79347
commit
f715f29588
|
@ -66,7 +66,7 @@ typedef uintptr_t mem_ptr_t;
|
||||||
#endif /* __CC_ARM/__IAR_SYSTEMS_ICC__ */
|
#endif /* __CC_ARM/__IAR_SYSTEMS_ICC__ */
|
||||||
#endif
|
#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>
|
#include <sys/time.h>
|
||||||
#define LWIP_TIMEVAL_PRIVATE 0
|
#define LWIP_TIMEVAL_PRIVATE 0
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#define S32_F "ld"
|
#define S32_F "ld"
|
||||||
#define X32_F "lx"
|
#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>
|
#include <sys/time.h>
|
||||||
#define LWIP_TIMEVAL_PRIVATE 0
|
#define LWIP_TIMEVAL_PRIVATE 0
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
#define LWIP_PROVIDE_ERRNO
|
#define LWIP_PROVIDE_ERRNO
|
||||||
#endif
|
#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>
|
#include <sys/time.h>
|
||||||
#define LWIP_TIMEVAL_PRIVATE 0
|
#define LWIP_TIMEVAL_PRIVATE 0
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue