eventfd: allow for all CPUs

After fixing support for x32, unlock eventfd support for all CPUs.
Before this patch, it was explicitly limited to 64-bit ones.

You can disable eventfs manually on systems where it's auto-detected:
- cmake: `-DHAVE_EVENTFD=0`
- configure: `export ac_cv_func_eventfd=0`

Ref: c2aa504ab9 #16239
Closes #16277
This commit is contained in:
Viktor Szakats 2025-02-08 02:34:48 +01:00
parent bf823397ba
commit 4d01de3529
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 8 additions and 25 deletions

View file

@ -27,7 +27,7 @@
#include "urldata.h"
#include "rand.h"
#if defined(USE_EVENTFD)
#ifdef HAVE_EVENTFD
#ifdef HAVE_SYS_EVENTFD_H
#include <sys/eventfd.h>
#endif