ext/libuv/src/unix/kqueue.c in libuv-3.2.2 vs ext/libuv/src/unix/kqueue.c in libuv-3.2.3
- old
+ new
@@ -57,14 +57,15 @@
return 0;
}
+#if defined(__APPLE__)
static int uv__has_forked_with_cfrunloop;
+#endif
int uv__io_fork(uv_loop_t* loop) {
int err;
- uv__close(loop->backend_fd);
loop->backend_fd = -1;
err = uv__kqueue_init(loop);
if (err)
return err;