mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1000858: Fix r_gettimeint on win32 which prevented us from sending TURN allocations r=ekr
This commit is contained in:
parent
55866ee9ee
commit
c58de9ee99
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user