mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
libuv: Build unix tcp support during CMake bootstrap
Using the real `tcp.c` simplifies `cmake-bootstrap.c`, and its implementation doesn't seem to require any of the platform-specific definitions. Also, later it will be needed for `uv_socketpair`.
This commit is contained in:
@@ -7,27 +7,10 @@ void uv__process_title_cleanup(void) {
|
||||
void uv__threadpool_cleanup(void) {
|
||||
}
|
||||
|
||||
int uv__tcp_nodelay(int fd, int on) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int uv__tcp_keepalive(int fd, int on, unsigned int delay) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int uv_tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
int uv_udp_open(uv_udp_t* handle, uv_os_sock_t sock) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
void uv__tcp_close(uv_tcp_t* handle) {
|
||||
}
|
||||
|
||||
void uv__udp_close(uv_udp_t* handle) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user