Commit 26b81374 authored by Ghislain MARY's avatar Ghislain MARY

Fix build for Windows 10.

parent 16b17b19
......@@ -150,6 +150,7 @@
<ClCompile Include="..\..\..\src\voip\qosanalyzer.c" />
<ClCompile Include="..\..\..\src\voip\qualityindicator.c" />
<ClCompile Include="..\..\..\src\voip\rfc3984.c" />
<ClCompile Include="..\..\..\src\voip\rfc4103_textstream.c" />
<ClCompile Include="..\..\..\src\voip\ringstream.c" />
<ClCompile Include="..\..\..\src\voip\stun.c" />
<ClCompile Include="..\..\..\src\voip\stun_udp.c" />
......
......@@ -52,7 +52,7 @@ static void text_stream_hexdump(const uint8_t* data, const size_t s) {
static uint32_t text_stream_gettime()
{
struct timeval t;
gettimeofday(&t, NULL);
ortp_gettimeofday(&t, NULL);
return (t.tv_sec * 1000 + t.tv_usec / 1000);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment