提交 b77c933f authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Use new uv_timeval64_t in libuv 1.28.0 instead of struct timeval (in ctime.h)

上级 c1736204
......@@ -11,9 +11,9 @@
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/rsa.h>
#include <uv.h>
#include <cstdio> // std::sprintf(), std::fopen()
#include <cstring> // std::memcpy(), std::strcmp()
#include <ctime> // struct timeval
#define LOG_OPENSSL_ERROR(desc) \
do \
......@@ -1011,10 +1011,7 @@ namespace RTC
"invalid DTLS state");
int64_t ret;
struct timeval dtlsTimeout
{
0, 0
};
uv_timeval64_t dtlsTimeout{ 0, 0 };
uint64_t timeoutMs;
// NOTE: If ret == 0 then ignore the value in dtlsTimeout.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论