test: fix building pty test on Android
Fixes: https://github.com/libuv/libuv/issues/1029 PR-URL: https://github.com/libuv/libuv/pull/1030 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
4a71e7747a
commit
2112e7a67c
@ -260,12 +260,11 @@ TEST_IMPL(tty_file) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST_IMPL(tty_pty) {
|
TEST_IMPL(tty_pty) {
|
||||||
#if defined(__ANDROID__) || \
|
#if defined(__APPLE__) || \
|
||||||
defined(__APPLE__) || \
|
|
||||||
defined(__DragonFly__) || \
|
defined(__DragonFly__) || \
|
||||||
defined(__FreeBSD__) || \
|
defined(__FreeBSD__) || \
|
||||||
defined(__FreeBSD_kernel__) || \
|
defined(__FreeBSD_kernel__) || \
|
||||||
defined(__linux__) || \
|
(defined(__linux__) && !defined(__ANDROID__)) || \
|
||||||
defined(__NetBSD__) || \
|
defined(__NetBSD__) || \
|
||||||
defined(__OpenBSD__)
|
defined(__OpenBSD__)
|
||||||
int master_fd, slave_fd, r;
|
int master_fd, slave_fd, r;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user