diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/unix/pipe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unix/pipe.c b/src/unix/pipe.c index 6bfe6cf2..9512c20c 100644 --- a/src/unix/pipe.c +++ b/src/unix/pipe.c @@ -496,7 +496,9 @@ int uv_pipe(uv_os_fd_t fds[2], int read_flags, int write_flags) { defined(__FreeBSD__) || \ defined(__OpenBSD__) || \ defined(__DragonFly__) || \ - defined(__NetBSD__) + defined(__NetBSD__) || \ + defined(__illumos__) || \ + (defined(UV__SOLARIS_11_4) && UV__SOLARIS_11_4) int flags = O_CLOEXEC; if ((read_flags & UV_NONBLOCK_PIPE) && (write_flags & UV_NONBLOCK_PIPE)) |