From 1322195921cca068eaace8c56982ab8f2ff807c9 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 23 Mar 2010 13:34:00 +0000 Subject: [PATCH] defining rtimer_clock_t to the same as clock_time_t --- platform/cooja/contiki-conf.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/cooja/contiki-conf.h b/platform/cooja/contiki-conf.h index f363e3f9a..4e1017b4d 100644 --- a/platform/cooja/contiki-conf.h +++ b/platform/cooja/contiki-conf.h @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: contiki-conf.h,v 1.14 2010/03/10 12:18:29 fros4943 Exp $ + * $Id: contiki-conf.h,v 1.15 2010/03/23 13:34:00 fros4943 Exp $ * */ @@ -110,8 +110,10 @@ typedef uint32_t u32_t; typedef int32_t s32_t; typedef unsigned short uip_stats_t; -typedef unsigned long clock_time_t; #define CLOCK_CONF_SECOND 1000L +typedef unsigned long clock_time_t; +typedef unsigned long rtimer_clock_t; +#define RTIMER_CLOCK_LT(a,b) ((signed long)((a)-(b)) < 0) #define AODV_COMPLIANCE #define AODV_NUM_RT_ENTRIES 32