include/timers_unix/timerscfg.h
changeset 38 9b5bb1dcb4f5
parent 0 4472ee7c6c3e
child 71 95cd3376cc9f
--- a/include/timers_unix/timerscfg.h	Tue Jun 20 19:02:43 2006 +0200
+++ b/include/timers_unix/timerscfg.h	Tue Jun 20 22:43:37 2006 +0200
@@ -28,7 +28,7 @@
 // Time unit : us
 // Time resolution : 64bit (~584942 years)
 #define TIMEVAL unsigned long long
-#define TIMEVAL_MAX 0xffffffffffffffff
+#define TIMEVAL_MAX ~(TIMEVAL)0
 #define MS_TO_TIMEVAL(ms) ms*1000
 #define US_TO_TIMEVAL(us) us