From 2269ad6a0abc8da1fa52bebaea05f81bd9cffdfb Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 23 Sep 2020 12:28:48 -0400 Subject: libuv: Add fs_copy stub to cmake-bootstrap.c This is now called by `uv__fs_sendfile` in `src/unix/fs.c` but we do not need that feature during CMake bootstrap. --- Utilities/cmlibuv/src/unix/cmake-bootstrap.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Utilities/cmlibuv/src/unix/cmake-bootstrap.c b/Utilities/cmlibuv/src/unix/cmake-bootstrap.c index 6cf42fa..054775e 100644 --- a/Utilities/cmlibuv/src/unix/cmake-bootstrap.c +++ b/Utilities/cmlibuv/src/unix/cmake-bootstrap.c @@ -152,4 +152,12 @@ int uv__statx(int dirfd, errno = ENOSYS; return -1; } + +ssize_t uv__fs_copy_file_range(int fd_in, ssize_t* off_in, + int fd_out, ssize_t* off_out, + size_t len, unsigned int flags) +{ + errno = ENOSYS; + return -1; +} #endif -- cgit v0.12