mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-07 15:04:39 +08:00
LWIP_TIMEVAL_PRIVATE must be defined in architecture cc.h file, either 1 or 0. Defaults to 1.
This commit is contained in:
parent
efe5ce5c78
commit
ce0410b205
@ -209,7 +209,11 @@ struct linger {
|
|||||||
* only define this in sockets.c so it does not interfere
|
* only define this in sockets.c so it does not interfere
|
||||||
* with other projects namespaces where timeval is present
|
* with other projects namespaces where timeval is present
|
||||||
*/
|
*/
|
||||||
#ifdef LWIP_TIMEVAL_PRIVATE
|
#ifndef LWIP_TIMEVAL_PRIVATE
|
||||||
|
#define LWIP_TIMEVAL_PRIVATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LWIP_TIMEVAL_PRIVATE
|
||||||
struct timeval {
|
struct timeval {
|
||||||
long tv_sec; /* seconds */
|
long tv_sec; /* seconds */
|
||||||
long tv_usec; /* and microseconds */
|
long tv_usec; /* and microseconds */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user