unix: fix build breakage on haiku, openbsd, etc (#4618)
The compile-time detection check from commit 7b75935 ("kqueue: use
EVFILT_USER for async if available") was not being used, breaking
numerous operating systems. This commit hopefully unbreaks them.
Fixes; https://github.com/libuv/libuv/issues/4608
Signed-off-by: Jeffrey H. Johnson <trnsz@pobox.com>
This commit is contained in:
parent
2907f6d69e
commit
15e3f84678
@ -227,7 +227,7 @@ static void uv__async_send(uv_loop_t* loop) {
|
|||||||
len = sizeof(val);
|
len = sizeof(val);
|
||||||
fd = loop->async_io_watcher.fd; /* eventfd */
|
fd = loop->async_io_watcher.fd; /* eventfd */
|
||||||
}
|
}
|
||||||
#elif defined(UV__KQUEUE_EVFILT_USER)
|
#elif UV__KQUEUE_EVFILT_USER
|
||||||
struct kevent ev;
|
struct kevent ev;
|
||||||
|
|
||||||
if (kqueue_evfilt_user_support) {
|
if (kqueue_evfilt_user_support) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user