diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-11-18 13:07:01 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-11-18 13:07:01 +0100 |
commit | 1b2d333ee3f3f4deb79e09f07358a4b8aec4933c (patch) | |
tree | a36f0dcb5fd0551e1d189a4f0297b6c4c46d2f18 /deps/uv/src/unix/process.c | |
parent | 48d21dd541929c85ee5bc0d7082811663442a698 (diff) | |
download | android-node-v8-1b2d333ee3f3f4deb79e09f07358a4b8aec4933c.tar.gz android-node-v8-1b2d333ee3f3f4deb79e09f07358a4b8aec4933c.tar.bz2 android-node-v8-1b2d333ee3f3f4deb79e09f07358a4b8aec4933c.zip |
uv: upgrade to e4680cc
Diffstat (limited to 'deps/uv/src/unix/process.c')
-rw-r--r-- | deps/uv/src/unix/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/uv/src/unix/process.c b/deps/uv/src/unix/process.c index c5a4592915..5581d8b809 100644 --- a/deps/uv/src/unix/process.c +++ b/deps/uv/src/unix/process.c @@ -104,7 +104,7 @@ static int uv__make_socketpair(int fds[2], int flags) { static int uv__make_pipe(int fds[2], int flags) { -#if HAVE_PIPE2 +#if HAVE_SYS_PIPE2 int fl; fl = O_CLOEXEC; @@ -112,7 +112,7 @@ static int uv__make_pipe(int fds[2], int flags) { if (flags & UV__F_NONBLOCK) fl |= O_NONBLOCK; - if (pipe2(fds, fl) == 0) + if (sys_pipe2(fds, fl) == 0) return 0; if (errno != ENOSYS) |