From 15e3f84678118bda914d1dba8d9e78d9629e36dd Mon Sep 17 00:00:00 2001 From: "Jeffrey H. Johnson" Date: Wed, 20 Nov 2024 13:24:20 +0000 Subject: 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 --- src/unix/async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unix/async.c') diff --git a/src/unix/async.c b/src/unix/async.c index aef25f6b..8265a43a 100644 --- a/src/unix/async.c +++ b/src/unix/async.c @@ -227,7 +227,7 @@ static void uv__async_send(uv_loop_t* loop) { len = sizeof(val); fd = loop->async_io_watcher.fd; /* eventfd */ } -#elif defined(UV__KQUEUE_EVFILT_USER) +#elif UV__KQUEUE_EVFILT_USER struct kevent ev; if (kqueue_evfilt_user_support) { -- cgit v1.2.3