mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Removed GLIBC_2.10 [#CLICKHOUSE-3989]
This commit is contained in:
parent
7c675aac45
commit
38534bba80
@ -17,7 +17,8 @@ musl/syscall.s
|
||||
musl/syscall_ret.c
|
||||
musl/sched_cpucount.c
|
||||
musl/glob.c
|
||||
musl/exp2f.c)
|
||||
musl/exp2f.c
|
||||
musl/pwritev.c)
|
||||
|
||||
if (MAKE_STATIC_LIBRARIES)
|
||||
set (GLIBC_COMPATIBILITY_SOURCES ${GLIBC_COMPATIBILITY_SOURCES}
|
||||
|
11
libs/libglibc-compatibility/musl/pwritev.c
Normal file
11
libs/libglibc-compatibility/musl/pwritev.c
Normal file
@ -0,0 +1,11 @@
|
||||
#define _DEFAULT_SOURCE
|
||||
#include <sys/uio.h>
|
||||
#include <unistd.h>
|
||||
#include <syscall.h>
|
||||
#include "syscall.h"
|
||||
|
||||
ssize_t pwritev(int fd, const struct iovec *iov, int count, off_t ofs)
|
||||
{
|
||||
/// There was cancellable syscall (syscall_cp), but I don't care.
|
||||
return syscall(SYS_pwritev, fd, iov, count, (long)(ofs), (long)(ofs>>32));
|
||||
}
|
Loading…
Reference in New Issue
Block a user