mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
sockets: do not assume defined(FD_SET) implies defined(FD_SET_VAL).
This commit is contained in:
parent
cf15872b8d
commit
f0c4944e2c
@ -403,6 +403,8 @@ typedef struct fd_set
|
||||
|
||||
#elif LWIP_SOCKET_OFFSET
|
||||
#error LWIP_SOCKET_OFFSET does not work with external FD_SET!
|
||||
#elif !defined(FD_SET_VAL)
|
||||
#define FD_SET_VAL(n, p) FD_SET(n, &(p))
|
||||
#endif /* FD_SET */
|
||||
|
||||
/** LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
|
||||
|
Loading…
x
Reference in New Issue
Block a user