瀏覽代碼

libuv: Use SIGCHLD in bootstrap mode

Kyle Edwards 2 年之前
父節點
當前提交
d562e503aa
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Utilities/cmlibuv/src/unix/process.c

+ 3 - 1
Utilities/cmlibuv/src/unix/process.c

@@ -75,7 +75,9 @@ extern char **environ;
 #endif
 #endif
 
-#if defined(__APPLE__) || \
+#ifdef CMAKE_BOOTSTRAP
+#define UV_USE_SIGCHLD
+#elif defined(__APPLE__) || \
     defined(__DragonFly__) || \
     defined(__FreeBSD__) || \
     defined(__NetBSD__) || \