mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +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)
|
||||
/* There is no link layer header with SLIP */
|
||||
|
||||
# ifdef CONFIG_NET_IPv4
|
||||
# ifndef CONFIG_NET_IPv4
|
||||
# error SLIP requires IPv4 support
|
||||
# endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user