aix,ibmi: fix test suite build breakage (#5020)

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-04 22:45:38 +01:00 committed by GitHub
parent 73bfbb995f
commit 885613f1fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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