diff options
author | Brad King <brad.king@kitware.com> | 2020-09-23 16:28:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-23 16:28:48 (GMT) |
commit | 2269ad6a0abc8da1fa52bebaea05f81bd9cffdfb (patch) | |
tree | c4a4902ac53bf5d308dcf43d1a722d4710524bfe /Utilities/cmlibuv | |
parent | e21325c2c6ab5a73682fa5ab3ec43104e397f666 (diff) | |
download | CMake-2269ad6a0abc8da1fa52bebaea05f81bd9cffdfb.zip CMake-2269ad6a0abc8da1fa52bebaea05f81bd9cffdfb.tar.gz CMake-2269ad6a0abc8da1fa52bebaea05f81bd9cffdfb.tar.bz2 |
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.
Diffstat (limited to 'Utilities/cmlibuv')
-rw-r--r-- | Utilities/cmlibuv/src/unix/cmake-bootstrap.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 |