mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
include/nuttx/net/netconfig.h: Fix some backward compilation that was emitting #error in the wrong condition when SLIP was enabled
This commit is contained in:
@@ -139,7 +139,7 @@
|
|||||||
#elif defined(CONFIG_NET_SLIP)
|
#elif defined(CONFIG_NET_SLIP)
|
||||||
/* There is no link layer header with SLIP */
|
/* There is no link layer header with SLIP */
|
||||||
|
|
||||||
# ifdef CONFIG_NET_IPv4
|
# ifndef CONFIG_NET_IPv4
|
||||||
# error SLIP requires IPv4 support
|
# error SLIP requires IPv4 support
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user