diff --git a/src/unix/pipe.c b/src/unix/pipe.c index cdf24fa9..78ce1542 100644 --- a/src/unix/pipe.c +++ b/src/unix/pipe.c @@ -95,8 +95,9 @@ int uv_pipe_listen(uv_pipe_t* handle, int backlog, uv_connection_cb cb) { if (uv__stream_fd(handle) == -1) return UV_EINVAL; -#if defined(__MVS__) +#if defined(__MVS__) || defined(__PASE__) /* On zOS, backlog=0 has undefined behaviour */ + /* On IBMi PASE, backlog=0 leads to "Connection refused" error */ if (backlog == 0) backlog = 1; else if (backlog < 0)