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:
parent
ee3718dd71
commit
1b8cc56194
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user