diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2012-10-11 11:20:42 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-20 13:45:12 +0100 |
commit | a83ea57a508362f8f66ecd89131302fba1223637 (patch) | |
tree | 18dbdf27ad89846869afc61dc33edfa085c85c57 /libc/sysdeps/linux/common/sendfile64.c | |
parent | f7bead5adac96d9cb72aa2fb3c11ca5ab8f5f6b9 (diff) |
sendfile: Use sendfile64 if arch does not have the sendfile syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/sendfile64.c')
-rw-r--r-- | libc/sysdeps/linux/common/sendfile64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/sendfile64.c b/libc/sysdeps/linux/common/sendfile64.c index 705e6fdee..1c01ace7f 100644 --- a/libc/sysdeps/linux/common/sendfile64.c +++ b/libc/sysdeps/linux/common/sendfile64.c @@ -17,4 +17,5 @@ #if defined __NR_sendfile64 && __WORDSIZE != 64 # include <sys/sendfile.h> _syscall4(ssize_t,sendfile64, int, out_fd, int, in_fd, __off64_t *, offset, size_t, count) +libc_hidden_def(sendfile64) #endif |