Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-01-09 18:45:51 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-09 18:46:30 +0400
commitcc5cea35b0e25352ff40780532d4c5a6bba00359 (patch)
tree32e6d71949ee3e4b274a0c77618562648542a75a /deps
parent22d7fe12067be32ac456045f8f2014526e4aabb4 (diff)
uv: upgrade to 803f5a0
Diffstat (limited to 'deps')
-rw-r--r--deps/uv/src/unix/internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/uv/src/unix/internal.h b/deps/uv/src/unix/internal.h
index 1adb5f2054d..3ae5d0542a7 100644
--- a/deps/uv/src/unix/internal.h
+++ b/deps/uv/src/unix/internal.h
@@ -59,6 +59,18 @@
# define HAVE_SYS_ACCEPT4 1
# endif
+# ifndef O_CLOEXEC
+# define O_CLOEXEC 02000000
+# endif
+
+# ifndef SOCK_CLOEXEC
+# define SOCK_CLOEXEC O_CLOEXEC
+# endif
+
+# ifndef SOCK_NONBLOCK
+# define SOCK_NONBLOCK O_NONBLOCK
+# endif
+
# if HAVE_SYS_UTIMESAT
inline static int sys_utimesat(int dirfd,
const char* path,