#if UIP_UDP
option is added, because this file cannot be compiled and is unnecessary when UIP_UDP==0.
This commit is contained in:
parent
2f121a1609
commit
1dd0e32a1e
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: uaodv.c,v 1.34 2007/11/18 11:21:29 nvt-se Exp $
|
||||
* $Id: uaodv.c,v 1.35 2007/11/28 10:15:44 matsutsuka Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -45,6 +45,8 @@
|
|||
#include "net/uaodv-def.h"
|
||||
#include "net/uaodv-rt.h"
|
||||
|
||||
#if UIP_UDP
|
||||
|
||||
#define NDEBUG
|
||||
#include "lib/assert.h"
|
||||
|
||||
|
@ -624,4 +626,5 @@ PROCESS_THREAD(uaodv_process, ev, data)
|
|||
printf("uaodv_process exiting\n");
|
||||
PROCESS_END();
|
||||
}
|
||||
#endif /* UIP_UDP */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue