From fbd5600563cbb020652138dcc915b68868ab5b22 Mon Sep 17 00:00:00 2001 From: fbernon Date: Mon, 20 Aug 2007 18:53:33 +0000 Subject: [PATCH] Force a build error if MEMP_NUM_TCPIP_MSG is always defined --- src/include/lwip/opt.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 6ee4229a..f71fa7ad 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -263,6 +263,13 @@ #define MEMP_NUM_TCPIP_MSG_INPKT 8 #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. */ @@ -1439,4 +1446,3 @@ #endif #endif /* __LWIP_OPT_H__ */ -