Patch#6774 TCP_QUEUE_OOSEQ breaks compilation when LWIP_TCP==0

This commit is contained in:
kieranm 2009-04-09 15:16:26 +00:00
parent f81ed216db
commit 4f8f6ba205
3 changed files with 7 additions and 1 deletions

View File

@ -79,6 +79,9 @@ HISTORY
++ Bugfixes:
2009-04-09 Kieran Mansley (patch from Luca Ceresoli <lucaceresoli>)
* init.c, opt.h: Patch#6774 TCP_QUEUE_OOSEQ breaks compilation when
LWIP_TCP==0
2009-04-09 Kieran Mansley (patch from Roy Lee <roylee17>)
* tcp.h: Patch#6802 Add do-while-clauses to those function like

View File

@ -158,6 +158,9 @@
#if (PBUF_POOL_BUFSIZE <= MEM_ALIGNMENT)
#error "PBUF_POOL_BUFSIZE must be grater than MEM_ALIGNMENT or the offset may take the full first pbuf"
#endif
#if (TCP_QUEUE_OOSEQ && !LWIP_TCP)
#error "TCP_QUEUE_OOSEQ requires LWIP_TCP"
#endif
/* Compile-time checks for deprecated options.

View File

@ -707,7 +707,7 @@
* Define to 0 if your device is low on memory.
*/
#ifndef TCP_QUEUE_OOSEQ
#define TCP_QUEUE_OOSEQ 1
#define TCP_QUEUE_OOSEQ (LWIP_TCP)
#endif
/**