diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-10-29 16:33:17 -0700 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-10-29 16:33:17 -0700 |
commit | a35a212f258812bd178f7f002660a0ddc0bf10b2 (patch) | |
tree | 32a27fca226d843207ccb93f08b5d12cd6b53ac6 /deps/uv/src/win/handle.c | |
parent | 613d76ef6a00ec091367de1e63bc51e3ab672cbd (diff) | |
download | node-new-a35a212f258812bd178f7f002660a0ddc0bf10b2.tar.gz |
uv: Upgrade to v0.11.14
Diffstat (limited to 'deps/uv/src/win/handle.c')
-rw-r--r-- | deps/uv/src/win/handle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/uv/src/win/handle.c b/deps/uv/src/win/handle.c index 64ff1b2133..2684820042 100644 --- a/deps/uv/src/win/handle.c +++ b/deps/uv/src/win/handle.c @@ -21,6 +21,7 @@ #include <assert.h> #include <io.h> +#include <stdlib.h> #include "uv.h" #include "internal.h" @@ -149,5 +150,5 @@ void uv_close(uv_handle_t* handle, uv_close_cb cb) { int uv_is_closing(const uv_handle_t* handle) { - return handle->flags & (UV__HANDLE_CLOSING | UV_HANDLE_CLOSED); + return !!(handle->flags & (UV__HANDLE_CLOSING | UV_HANDLE_CLOSED)); } |