From f1e023af85aac27a71ff85405362cdad44f27c2b Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Wed, 17 Sep 2014 21:30:41 +0200 Subject: [PATCH] init.c: LWIP_PPP_API needs NO_SYS==0 --- src/core/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/init.c b/src/core/init.c index cfd7ff5a..7d941d83 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -152,6 +152,9 @@ #if (!LWIP_NETCONN && LWIP_SOCKET) #error "If you want to use Socket API, you have to define LWIP_NETCONN=1 in your lwipopts.h" #endif +#if (LWIP_PPP_API && (NO_SYS==1)) + #error "If you want to use PPP API, you have to define NO_SYS=0 in your lwipopts.h" +#endif #if (((!LWIP_DHCP) || (!LWIP_AUTOIP)) && LWIP_DHCP_AUTOIP_COOP) #error "If you want to use DHCP/AUTOIP cooperation mode, you have to define LWIP_DHCP=1 and LWIP_AUTOIP=1 in your lwipopts.h" #endif