diff -r bb9fe2e2b2e1 -r 9a2474509269 include/win32/timerscfg.h --- a/include/win32/timerscfg.h Thu Dec 22 13:46:00 2011 +0100 +++ b/include/win32/timerscfg.h Thu May 12 12:23:20 2011 +0000 @@ -26,12 +26,12 @@ #include -// Time unit : 100 ns -#define TIMEVAL unsigned long long +// Time unit : 1msec +#define TIMEVAL DWORD #define TIMEVAL_MAX ~(TIMEVAL)0 -#define MS_TO_TIMEVAL(ms) ms*10000 -#define US_TO_TIMEVAL(us) us*10 +#define MS_TO_TIMEVAL(ms) ms +#define US_TO_TIMEVAL(us) (us / 1000) #define TASK_HANDLE HANDLE