From b59329a7146e9af9dd95f6ddc0eb37d70fddb443 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 1 Jul 2015 11:55:40 -0600 Subject: [PATCH] include/nuttx/net/netconfig.h: Fix some backward compilation that was emitting #error in the wrong condition when SLIP was enabled --- include/nuttx/net/netconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/net/netconfig.h b/include/nuttx/net/netconfig.h index 4c6f58d15b..aeea16b4e1 100644 --- a/include/nuttx/net/netconfig.h +++ b/include/nuttx/net/netconfig.h @@ -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