lwip-users
[Top][All Lists]
Advanced

[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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]