(trunk libT) possible fix for #2078: Assertion failed: (tv->tv_usec >= 0)

This commit is contained in:
Charles Kerr
2009-06-12 23:01:35 +00:00
parent 8f1d036fa3
commit a2b9fcc592
6 changed files with 45 additions and 20 deletions
+5 -1
View File
@@ -238,7 +238,11 @@ char* tr_buildPath( const char * first_element, ... ) TR_GNUC_NULL_TERMINATED
struct timeval;
void tr_timevalMsec( uint64_t milliseconds, struct timeval * setme );
tr_bool tr_isTimeval( const struct timeval * tv );
void tr_timevalMsec( uint64_t milliseconds, struct timeval * setme );
void tr_timevalSet( struct timeval * setme, int seconds, int microseconds );
/** @brief return the current date in milliseconds */