Fix compilation for PPPOE without PPPOS and VJ_SUPPORT without PPPOS_SUPPORT

This commit is contained in:
goldsimon
2009-12-01 20:46:14 +00:00
parent 46dc1c9bfb
commit 04c5246e02
2 changed files with 21 additions and 17 deletions

View File

@@ -168,6 +168,9 @@
#if (DNS_LOCAL_HOSTLIST && !DNS_LOCAL_HOSTLIST_IS_DYNAMIC && !(defined(DNS_LOCAL_HOSTLIST_INIT)))
#error "you have to define define DNS_LOCAL_HOSTLIST_INIT {{'host1', 0x123}, {'host2', 0x234}} to initialize DNS_LOCAL_HOSTLIST"
#endif
#if PPP_SUPPORT && !PPPOS_SUPPORT & !PPPOE_SUPPORT
#error "PPP_SUPPORT needs wither PPPOS_SUPPORT or PPPOE_SUPPORT turned on"
#endif
/* Compile-time checks for deprecated options.