aix,test: uv_backend_fd is not supported by poll (#3621)

Fixes: https://github.com/libuv/libuv/issues/3614
Co-authored-by: Vasili Skurydzin <vasili.skurydzin@ibm.com>
This commit is contained in:
V-for-Vasili 2022-05-13 06:43:28 -04:00 committed by GitHub
parent ee3718dd71
commit 1b8cc56194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <errno.h>
#ifndef _WIN32
#if !defined(_WIN32) && !defined(_AIX)
#include <poll.h>
#endif
@ -56,7 +56,7 @@ TEST_IMPL(embed) {
ASSERT_LE(0, uv_barrier_wait(&barrier));
while (uv_loop_alive(loop)) {
#ifdef _WIN32
#if defined(_WIN32) || defined(_AIX)
ASSERT_LE(0, uv_run(loop, UV_RUN_ONCE));
#else
int rc;