[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP
From: |
address@hidden |
Subject: |
[lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP |
Date: |
Fri, 21 Sep 2007 02:28:35 +0000 |
lwip: config sanity check for NETIP
---
user/e7/comms/lwip/core/init.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/user/e7/comms/lwip/core/init.c b/user/e7/comms/lwip/core/init.c
index c53dbbc..a530a79 100644
--- a/user/e7/comms/lwip/core/init.c
+++ b/user/e7/comms/lwip/core/init.c
@@ -126,6 +126,9 @@
#if (LWIP_TCP && ((LWIP_EVENT_API && LWIP_CALLBACK_API) || (!LWIP_EVENT_API &&
!LWIP_CALLBACK_API)))
#error "One and exactly one of LWIP_EVENT_API and LWIP_CALLBACK_API has to
be enabled in lwipopts.h"
#endif
+#if (LWIP_NETIF_API && !LWIP_TCP)
+ #error "NETIF API is for TCP"
+#endif
/* Compile-time checks for deprecated options.
*/
--
1.5.2.1
- [lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP,
address@hidden <=
- RE: [lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP, Goldschmidt Simon, 2007/09/21
- Re: [lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP, Andrew Dennison, 2007/09/22
- Re: [lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP, Frédéric BERNON, 2007/09/22
- Re: [lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP, Andrew Dennison, 2007/09/22
- RE: [lwip-users] [PATCH 1/7] lwip: config sanity check for NETIP, Goldschmidt Simon, 2007/09/24