diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-09 18:45:51 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-09 18:46:30 +0400 |
commit | cc5cea35b0e25352ff40780532d4c5a6bba00359 (patch) | |
tree | 32e6d71949ee3e4b274a0c77618562648542a75a /deps | |
parent | 22d7fe12067be32ac456045f8f2014526e4aabb4 (diff) |
uv: upgrade to 803f5a0
Diffstat (limited to 'deps')
-rw-r--r-- | deps/uv/src/unix/internal.h | 12 |
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, |