(trunk libT) #4153 "Protect against non-monotonic time in libutp" -- another attempt at getting it to compile on win32

This commit is contained in:
Jordan Lee 2011-03-30 23:50:25 +00:00
parent 4cf4000620
commit 7aa90a3812
1 changed files with 3 additions and 1 deletions

View File

@ -148,7 +148,7 @@ static uint64_t GetMicroseconds()
}
#endif //!__APPLE__
#endif //!WIN32
uint32 UTP_GetMilliseconds();
uint64 UTP_GetMicroseconds()
{
@ -164,6 +164,8 @@ uint64 UTP_GetMicroseconds()
return now;
}
#endif //!WIN32
uint32 UTP_GetMilliseconds()
{
return UTP_GetMicroseconds() / 1000;