From 43f0ad85f508afff5fedb582a915068c2352a517 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sat, 5 Mar 2011 16:51:33 -0500 Subject: [PATCH] rest-example: don't do a hard override of config options --- examples/rest-example/project-conf.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/rest-example/project-conf.h b/examples/rest-example/project-conf.h index 43528a30c..e55e28419 100644 --- a/examples/rest-example/project-conf.h +++ b/examples/rest-example/project-conf.h @@ -26,22 +26,26 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: project-conf.h,v 1.1 2010/10/28 13:11:08 doganyazar Exp $ + * */ #ifndef __PROJECT_RPL_WEB_CONF_H__ #define __PROJECT_RPL_WEB_CONF_H__ -#undef QUEUEBUF_CONF_NUM +#ifndef QUEUEBUF_CONF_NUM #define QUEUEBUF_CONF_NUM 6 +#endif -#undef UIP_CONF_BUFFER_SIZE +#ifndef UIP_CONF_BUFFER_SIZE #define UIP_CONF_BUFFER_SIZE 140 +#endif -#undef UIP_CONF_RECEIVE_WINDOW +#ifndef UIP_CONF_RECEIVE_WINDOW #define UIP_CONF_RECEIVE_WINDOW 60 +#endif -#undef WEBSERVER_CONF_CFS_CONNS +#ifndef WEBSERVER_CONF_CFS_CONNS #define WEBSERVER_CONF_CFS_CONNS 2 +#endif #endif /* __PROJECT_RPL_WEB_CONF_H__ */