diff --git a/core/sys/clock.h b/core/sys/clock.h index 8bcef866d..144c646e9 100644 --- a/core/sys/clock.h +++ b/core/sys/clock.h @@ -53,13 +53,15 @@ * * Author: Adam Dunkels * - * $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__ #define __CLOCK_H__ #include "contiki-conf.h" +#define CLOCK_LT(a,b) ((signed short)((a)-(b)) < 0) + /** * Initialize the clock library. *