Browse Source

libuv: Add proctitle and threadpool cleanup stubs to cmake-bootstrap.c

These are now called by `uv_library_shutdown` in `src/uv-common.c` but
on UNIX we do not compile those features during CMake bootstrap.
Brad King 5 years ago
parent
commit
2628eb7460
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Utilities/cmlibuv/src/unix/cmake-bootstrap.c

+ 6 - 0
Utilities/cmlibuv/src/unix/cmake-bootstrap.c

@@ -1,6 +1,12 @@
 #include "uv.h"
 #include "internal.h"
 
+void uv__process_title_cleanup(void) {
+}
+
+void uv__threadpool_cleanup(void) {
+}
+
 int uv__tcp_nodelay(int fd, int on) {
   errno = EINVAL;
   return -1;