Force a build error if MEMP_NUM_TCPIP_MSG is always defined

This commit is contained in:
fbernon 2007-08-20 18:53:33 +00:00
parent 3259e2eac9
commit fbd5600563

View File

@ -263,6 +263,13 @@
#define MEMP_NUM_TCPIP_MSG_INPKT 8 #define MEMP_NUM_TCPIP_MSG_INPKT 8
#endif #endif
/**
* MEMP_NUM_TCPIP_MSG is deprecated
*/
#ifdef MEMP_NUM_TCPIP_MSG
#error MEMP_NUM_TCPIP_MSG option is deprecated. Remove it from your lwipopts.h.
#endif
/** /**
* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. * PBUF_POOL_SIZE: the number of buffers in the pbuf pool.
*/ */
@ -1439,4 +1446,3 @@
#endif #endif
#endif /* __LWIP_OPT_H__ */ #endif /* __LWIP_OPT_H__ */