diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-01-11 13:49:45 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-01-11 14:00:19 +0100 |
commit | 31fc52ab53b5dde882ebadbbc912c2848c7b6a83 (patch) | |
tree | 11aa3925416fc156a9ccee5f37415a31d9104c52 /deps/uv/src/unix/cygwin.c | |
parent | dc0c524ce681f53e2bd8f0974ed6aa3fd910054d (diff) | |
download | android-node-v8-31fc52ab53b5dde882ebadbbc912c2848c7b6a83.tar.gz android-node-v8-31fc52ab53b5dde882ebadbbc912c2848c7b6a83.tar.bz2 android-node-v8-31fc52ab53b5dde882ebadbbc912c2848c7b6a83.zip |
deps: upgrade libuv to 9aab5d4
Diffstat (limited to 'deps/uv/src/unix/cygwin.c')
-rw-r--r-- | deps/uv/src/unix/cygwin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/uv/src/unix/cygwin.c b/deps/uv/src/unix/cygwin.c index 8c0797e400..9746454119 100644 --- a/deps/uv/src/unix/cygwin.c +++ b/deps/uv/src/unix/cygwin.c @@ -19,7 +19,7 @@ */ #include "uv.h" -#include "../uv-common.h" +#include "internal.h" #include <assert.h> #include <stdint.h> @@ -41,12 +41,13 @@ void uv__platform_loop_delete(uv_loop_t* loop) { } -uint64_t uv_hrtime() { +uint64_t uv__hrtime(void) { struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); return (((uint64_t) ts.tv_sec) * NANOSEC + ts.tv_nsec); } + void uv_loadavg(double avg[3]) { /* Unsupported as of cygwin 1.7.7 */ avg[0] = avg[1] = avg[2] = 0; |