mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 06:09:52 -06:00
libuv: Update CMake-internal buildsystem for 1.44.2
This commit is contained in:
@@ -27,6 +27,8 @@ set(uv_sources
|
|||||||
src/queue.h
|
src/queue.h
|
||||||
src/strscpy.c
|
src/strscpy.c
|
||||||
src/strscpy.h
|
src/strscpy.h
|
||||||
|
src/strtok.c
|
||||||
|
src/strtok.h
|
||||||
src/threadpool.c
|
src/threadpool.c
|
||||||
src/timer.c
|
src/timer.c
|
||||||
src/uv-common.c
|
src/uv-common.c
|
||||||
|
|||||||
@@ -135,7 +135,9 @@ int uv__statx(int dirfd,
|
|||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__linux__) || defined(__FreeBSD__)
|
||||||
ssize_t uv__fs_copy_file_range(int fd_in, off_t* off_in,
|
ssize_t uv__fs_copy_file_range(int fd_in, off_t* off_in,
|
||||||
int fd_out, off_t* off_out,
|
int fd_out, off_t* off_out,
|
||||||
size_t len, unsigned int flags)
|
size_t len, unsigned int flags)
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ static int isreallyatty(int file) {
|
|||||||
#define isatty(fd) isreallyatty(fd)
|
#define isatty(fd) isreallyatty(fd)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(CMAKE_BOOTSTRAP)
|
||||||
|
|
||||||
static int orig_termios_fd = -1;
|
static int orig_termios_fd = -1;
|
||||||
static struct termios orig_termios;
|
static struct termios orig_termios;
|
||||||
static uv_spinlock_t termios_spinlock = UV_SPINLOCK_INITIALIZER;
|
static uv_spinlock_t termios_spinlock = UV_SPINLOCK_INITIALIZER;
|
||||||
@@ -344,6 +346,7 @@ int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
uv_handle_type uv_guess_handle(uv_file file) {
|
uv_handle_type uv_guess_handle(uv_file file) {
|
||||||
struct sockaddr_storage ss;
|
struct sockaddr_storage ss;
|
||||||
@@ -432,6 +435,7 @@ uv_handle_type uv_guess_handle(uv_file file) {
|
|||||||
return UV_UNKNOWN_HANDLE;
|
return UV_UNKNOWN_HANDLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(CMAKE_BOOTSTRAP)
|
||||||
|
|
||||||
/* This function is async signal-safe, meaning that it's safe to call from
|
/* This function is async signal-safe, meaning that it's safe to call from
|
||||||
* inside a signal handler _unless_ execution was inside uv_tty_set_mode()'s
|
* inside a signal handler _unless_ execution was inside uv_tty_set_mode()'s
|
||||||
@@ -461,3 +465,5 @@ void uv_tty_set_vterm_state(uv_tty_vtermstate_t state) {
|
|||||||
int uv_tty_get_vterm_state(uv_tty_vtermstate_t* state) {
|
int uv_tty_get_vterm_state(uv_tty_vtermstate_t* state) {
|
||||||
return UV_ENOTSUP;
|
return UV_ENOTSUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -588,6 +588,7 @@ if ${cmake_system_mingw}; then
|
|||||||
src/inet.c \
|
src/inet.c \
|
||||||
src/threadpool.c \
|
src/threadpool.c \
|
||||||
src/strscpy.c \
|
src/strscpy.c \
|
||||||
|
src/strtok.c \
|
||||||
src/timer.c \
|
src/timer.c \
|
||||||
src/uv-common.c \
|
src/uv-common.c \
|
||||||
src/win/async.c \
|
src/win/async.c \
|
||||||
@@ -618,6 +619,7 @@ if ${cmake_system_mingw}; then
|
|||||||
else
|
else
|
||||||
LIBUV_C_SOURCES="\
|
LIBUV_C_SOURCES="\
|
||||||
src/strscpy.c \
|
src/strscpy.c \
|
||||||
|
src/strtok.c \
|
||||||
src/timer.c \
|
src/timer.c \
|
||||||
src/uv-common.c \
|
src/uv-common.c \
|
||||||
src/unix/cmake-bootstrap.c \
|
src/unix/cmake-bootstrap.c \
|
||||||
@@ -634,6 +636,7 @@ else
|
|||||||
src/unix/signal.c \
|
src/unix/signal.c \
|
||||||
src/unix/stream.c \
|
src/unix/stream.c \
|
||||||
src/unix/tcp.c \
|
src/unix/tcp.c \
|
||||||
|
src/unix/tty.c \
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user