diff options
author | Brad King <brad.king@kitware.com> | 2024-03-31 13:45:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-04-01 13:55:03 (GMT) |
commit | 0db640268757fad992781ae6fac678fdc8526caf (patch) | |
tree | 2eaa94fea60197491a23ddbe5628aaf748b556d8 | |
parent | 079dfe194b76f1c636235341fdf00d0a421adb48 (diff) | |
download | CMake-0db640268757fad992781ae6fac678fdc8526caf.zip CMake-0db640268757fad992781ae6fac678fdc8526caf.tar.gz CMake-0db640268757fad992781ae6fac678fdc8526caf.tar.bz2 |
libuv: process: de-duplicate conditions for using kqueue
Its platform-specific headers provide a dedicated indicator.
Backport libuv PR 4378.
-rw-r--r-- | Utilities/cmlibuv/src/unix/process.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Utilities/cmlibuv/src/unix/process.c b/Utilities/cmlibuv/src/unix/process.c index 5c39da6..3427847 100644 --- a/Utilities/cmlibuv/src/unix/process.c +++ b/Utilities/cmlibuv/src/unix/process.c @@ -81,11 +81,7 @@ extern char **environ; #ifdef CMAKE_BOOTSTRAP #define UV_USE_SIGCHLD -#elif defined(__APPLE__) || \ - defined(__DragonFly__) || \ - defined(__FreeBSD__) || \ - defined(__NetBSD__) || \ - defined(__OpenBSD__) +#elif defined(UV_HAVE_KQUEUE) #include <sys/event.h> #else #define UV_USE_SIGCHLD |