mirror of https://github.com/aria2/aria2
Add backward-compatible libuv defs
parent
e0812d5ad1
commit
590aa21c68
|
@ -73,6 +73,11 @@ namespace {
|
|||
uv_stop(handle->loop);
|
||||
}
|
||||
|
||||
static void timer_callback(uv_timer_t* handle)
|
||||
{
|
||||
timer_callback(handle, 0);
|
||||
}
|
||||
|
||||
#else // !defined(UV_VERSION_MINOR) || UV_VERSION_MINOR <= 10
|
||||
|
||||
static void timer_callback(uv_timer_t* handle)
|
||||
|
|
Loading…
Reference in New Issue