mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03:00
libuv: process: de-duplicate conditions for using kqueue
Its platform-specific headers provide a dedicated indicator. Backport libuv PR 4378.
This commit is contained in:
1 parent
079dfe194b
commit
0db6402687
1 file changed
+1
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user