mirror of
https://github.com/curl/curl.git
synced 2026-07-16 12:57:16 +03:00
socketpair: fix enabling USE_EVENTFD
Follow-up to 23fe1a52dc #13874
Closes #15561
This commit is contained in:
parent
e244d50064
commit
92124838c6
1 changed files with 8 additions and 8 deletions
|
|
@ -27,14 +27,14 @@
|
|||
#include "curl_setup.h"
|
||||
|
||||
#if defined(HAVE_EVENTFD) && \
|
||||
defined(__x86_64__) && \
|
||||
defined(__aarch64__) && \
|
||||
defined(__ia64__) && \
|
||||
defined(__ppc64__) && \
|
||||
defined(__mips64) && \
|
||||
defined(__sparc64__) && \
|
||||
defined(__riscv_64e) && \
|
||||
defined(__s390x__)
|
||||
(defined(__x86_64__) || \
|
||||
defined(__aarch64__) || \
|
||||
defined(__ia64__) || \
|
||||
defined(__ppc64__) || \
|
||||
defined(__mips64) || \
|
||||
defined(__sparc64__) || \
|
||||
defined(__riscv_64e) || \
|
||||
defined(__s390x__))
|
||||
|
||||
/* Use eventfd only with 64-bit CPU architectures because eventfd has a
|
||||
* stringent rule of requiring the 8-byte buffer when calling read(2) and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue