Add backward-compatible libuv defs

pull/319/head
Nils Maier 2014-12-30 22:31:32 +01:00
parent e0812d5ad1
commit 590aa21c68
1 changed files with 5 additions and 0 deletions

View File

@ -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)