compare clock_time_t's

This commit is contained in:
fros4943 2007-09-07 10:20:30 +00:00
parent efbe8ab536
commit 59c75144e8
1 changed files with 3 additions and 1 deletions

View File

@ -53,13 +53,15 @@
* *
* Author: Adam Dunkels <adam@sics.se> * Author: Adam Dunkels <adam@sics.se>
* *
* $Id: clock.h,v 1.2 2007/03/25 21:51:31 adamdunkels Exp $ * $Id: clock.h,v 1.3 2007/09/07 10:20:30 fros4943 Exp $
*/ */
#ifndef __CLOCK_H__ #ifndef __CLOCK_H__
#define __CLOCK_H__ #define __CLOCK_H__
#include "contiki-conf.h" #include "contiki-conf.h"
#define CLOCK_LT(a,b) ((signed short)((a)-(b)) < 0)
/** /**
* Initialize the clock library. * Initialize the clock library.
* *