From 8ae4cab4a85eea297a0b8ea9aa65c3c23b0a664b Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 26 Nov 2002 09:02:06 +0000 Subject: use #ifdef CONFIG_* instead of #if CONFIG_* --- libbb/interface.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libbb/interface.c') diff --git a/libbb/interface.c b/libbb/interface.c index b7353e5ad..2f4319265 100644 --- a/libbb/interface.c +++ b/libbb/interface.c @@ -15,7 +15,7 @@ * that either displays or sets the characteristics of * one or more of the system's networking interfaces. * - * Version: $Id: interface.c,v 1.10 2002/09/17 06:36:02 andersen Exp $ + * Version: $Id: interface.c,v 1.11 2002/11/26 09:02:04 bug1 Exp $ * * Author: Fred N. van Kempen, * and others. Copyright 1993 MicroWalt Corporation @@ -44,7 +44,6 @@ * */ #define HAVE_AFINET 1 -#undef HAVE_AFINET6 #undef HAVE_AFIPX #undef HAVE_AFATALK #undef HAVE_AFNETROM @@ -52,8 +51,10 @@ #undef HAVE_AFECONET #undef HAVE_AFASH -#if CONFIG_FEATURE_IPV6 -#define HAVE_AFINET6 1 +#ifdef CONFIG_FEATURE_IPV6 +# define HAVE_AFINET6 1 +#else +# undef HAVE_AFINET6 #endif /* -- cgit v1.2.3