aix,ibmi: fix test suite build breakage

Apparently there is no openpty() on those platforms. Introduced in
commit 2e2114ed from last month.

Fixes: https://github.com/libuv/libuv/issues/5018
This commit is contained in:
Ben Noordhuis 2026-02-03 23:33:21 +01:00
parent fc90bb9843
commit ac6b2fef5e

View File

@ -502,7 +502,10 @@ static void tty_pty_partial_read_cb(uv_stream_t* stream,
#endif /* !defined(__ANDROID__) && !defined(_WIN32) */ #endif /* !defined(__ANDROID__) && !defined(_WIN32) */
TEST_IMPL(tty_pty_partial) { TEST_IMPL(tty_pty_partial) {
#if !defined(__ANDROID__) && !defined(_WIN32) #if !defined(_AIX) && \
!defined(__ANDROID__) && \
!defined(__MVS__) && \
!defined(_WIN32)
int master_fd, slave_fd; int master_fd, slave_fd;
uv_tty_t master_tty; uv_tty_t master_tty;
uv_thread_t tid; uv_thread_t tid;