From 186f227972053ad5fafb02bdc3c7b84129a837b2 Mon Sep 17 00:00:00 2001 From: Matthias Kovatsch Date: Sat, 17 Mar 2012 11:47:09 +0100 Subject: [PATCH] Also excluded platform native from static routing. --- examples/er-rest-example/coap-client-example.c | 2 +- examples/er-rest-example/rest-server-example.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/er-rest-example/coap-client-example.c b/examples/er-rest-example/coap-client-example.c index aa40d9093..1f8ac1806 100644 --- a/examples/er-rest-example/coap-client-example.c +++ b/examples/er-rest-example/coap-client-example.c @@ -43,7 +43,7 @@ #include "contiki.h" #include "contiki-net.h" -#if !UIP_CONF_IPV6_RPL && !defined (CONTIKI_TARGET_MINIMAL_NET) +#if !UIP_CONF_IPV6_RPL && !defined (CONTIKI_TARGET_MINIMAL_NET) && !defined (CONTIKI_TARGET_NATIVE) #warning "Compiling with static routing!" #include "static-routing.h" #endif diff --git a/examples/er-rest-example/rest-server-example.c b/examples/er-rest-example/rest-server-example.c index 624756ad0..4f893bebb 100644 --- a/examples/er-rest-example/rest-server-example.c +++ b/examples/er-rest-example/rest-server-example.c @@ -57,7 +57,7 @@ -#if !UIP_CONF_IPV6_RPL && !defined (CONTIKI_TARGET_MINIMAL_NET) +#if !UIP_CONF_IPV6_RPL && !defined (CONTIKI_TARGET_MINIMAL_NET) && !defined (CONTIKI_TARGET_NATIVE) #warning "Compiling with static routing!" #include "static-routing.h" #endif