Bug 1000858: Fix r_gettimeint on win32 which prevented us from sending TURN allocations r=ekr

This commit is contained in:
Byron Campen [:bwc] 2014-04-24 16:56:00 -07:00
parent 55866ee9ee
commit c58de9ee99

View File

@ -177,15 +177,9 @@ int r_int2timeval(UINT8 t,struct timeval *tv)
UINT8 r_gettimeint()
{
#ifdef WIN32
struct timeval tv = {0,0};
#else
struct timeval tv;
gettimeofday(&tv,0);
#endif
return r_timeval2int(&tv);
}