mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-14 08:53:56 +08:00
Add a sanity check for PPP, and a #if !NO_SYS/#endif for slipif_loop
This commit is contained in:
@@ -96,6 +96,9 @@
|
||||
#if (LWIP_IGMP && (MEMP_NUM_IGMP_GROUP<=1))
|
||||
#error "If you want to use IGMP, you have to define MEMP_NUM_IGMP_GROUP>1 in your lwipopts.h"
|
||||
#endif
|
||||
#if (PPP_SUPPORT && (NO_SYS==1))
|
||||
#error "If you want to use PPP, you have to define NO_SYS=0 in your lwipopts.h"
|
||||
#endif
|
||||
#if ((LWIP_SOCKET || LWIP_NETCONN) && (NO_SYS==1))
|
||||
#error "If you want to use Sequential API, you have to define NO_SYS=0 in your lwipopts.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user