diff --git a/core/net/uip.c b/core/net/uip.c index 13ea29e0b..fda6f98b5 100644 --- a/core/net/uip.c +++ b/core/net/uip.c @@ -41,7 +41,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: uip.c,v 1.14 2008/02/28 23:59:05 oliverschmidt Exp $ + * $Id: uip.c,v 1.15 2008/10/15 08:08:32 adamdunkels Exp $ * */ @@ -76,6 +76,12 @@ #include "net/uip_arp.h" #include "net/uip_arch.h" +#if !UIP_CONF_IPV6 /* If UIP_CONF_IPV6 is defined, we compile the + uip6.c file instead of this one. Therefore + this #ifndef removes the entire compilation + output of the uip.c file */ + + #if UIP_CONF_IPV6 #include "net/uip-neighbor.h" #endif /* UIP_CONF_IPV6 */ @@ -1928,3 +1934,4 @@ uip_send(const void *data, int len) } /*---------------------------------------------------------------------------*/ /** @} */ +#endif /* UIP_CONF_IPV6 */