mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 06:05:23 +08:00
[lwIP] use libc struct timeval when enable minilibc
This commit is contained in:
parent
e1aceb68c8
commit
42e374e4f4
@ -61,7 +61,7 @@
|
|||||||
#define LWIP_PROVIDE_ERRNO
|
#define LWIP_PROVIDE_ERRNO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RT_USING_LIBC
|
#if defined(RT_USING_LIBC) || defined(RT_USING_MINILIBC)
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#define LWIP_TIMEVAL_PRIVATE 0
|
#define LWIP_TIMEVAL_PRIVATE 0
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user