mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 07:05:56 +00:00
Minor fix (else, cause build error). Since SO_REUSE is always used in the code (even if the current code is not working), it is defined in opt.h with 0 as default value (it's normal). So, the error is not if it is defined, but if it is defined to 1.
This commit is contained in:
parent
231d965bcb
commit
fca25479ad
|
@ -114,7 +114,7 @@
|
||||||
#ifdef ETHARP_ALWAYS_INSERT
|
#ifdef ETHARP_ALWAYS_INSERT
|
||||||
#error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
|
#error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h.
|
||||||
#endif
|
#endif
|
||||||
#ifdef SO_REUSE
|
#if SO_REUSE
|
||||||
/* I removed the lot since this was an ugly hack. It broke the raw-API.
|
/* I removed the lot since this was an ugly hack. It broke the raw-API.
|
||||||
It also came with many ugly goto's, Christiaan Simons. */
|
It also came with many ugly goto's, Christiaan Simons. */
|
||||||
#error "SO_REUSE currently unavailable, this was a hack"
|
#error "SO_REUSE currently unavailable, this was a hack"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user