mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-23 14:46:01 +00:00
Remove checks that the SO_* socket options and SOF_* lwIP-internal flags match
not needed any more since commit b0344518e8
"sockets.c: Don't rely on #defines in socket.h to be in sync with ip.h
Map SO_* to SOF_* #defines"
Reported by Joan Lledó on mailinglist 6.Sep.2018
This commit is contained in:
parent
264b89764d
commit
24fc93e12f
|
@ -238,16 +238,6 @@ PACK_STRUCT_END
|
||||||
#endif
|
#endif
|
||||||
#endif /* LWIP_NETCONN && LWIP_TCP */
|
#endif /* LWIP_NETCONN && LWIP_TCP */
|
||||||
#if LWIP_SOCKET
|
#if LWIP_SOCKET
|
||||||
/* Check that the SO_* socket options and SOF_* lwIP-internal flags match */
|
|
||||||
#if SO_REUSEADDR != SOF_REUSEADDR
|
|
||||||
#error "WARNING: SO_REUSEADDR != SOF_REUSEADDR"
|
|
||||||
#endif
|
|
||||||
#if SO_KEEPALIVE != SOF_KEEPALIVE
|
|
||||||
#error "WARNING: SO_KEEPALIVE != SOF_KEEPALIVE"
|
|
||||||
#endif
|
|
||||||
#if SO_BROADCAST != SOF_BROADCAST
|
|
||||||
#error "WARNING: SO_BROADCAST != SOF_BROADCAST"
|
|
||||||
#endif
|
|
||||||
#endif /* LWIP_SOCKET */
|
#endif /* LWIP_SOCKET */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user