# HG changeset patch # User greg # Date 1247745109 -7200 # Node ID 5fe7a5b0b8a588a80d48287dfc2d632425f8d9a5 # Parent 81b92b8ec2b54609649596d8d2eec3b539830e13 fixed bug in timerscfg.h for win32 diff -r 81b92b8ec2b5 -r 5fe7a5b0b8a5 include/win32/timerscfg.h --- a/include/win32/timerscfg.h Thu Jul 16 12:03:37 2009 +0200 +++ b/include/win32/timerscfg.h Thu Jul 16 13:51:49 2009 +0200 @@ -30,8 +30,9 @@ // Time resolution : 64bit (~584942 years) #define TIMEVAL unsigned long long #define TIMEVAL_MAX ~(TIMEVAL)0 -#define MS_TO_TIMEVAL(ms) ms*1000 -#define US_TO_TIMEVAL(us) us + +#define MS_TO_TIMEVAL(ms) ms*10000 +#define US_TO_TIMEVAL(us) us*10 #define TASK_HANDLE HANDLE