瀏覽代碼

another attempt to fix sendfile64

Peter S. Mazinger 20 年之前
父節點
當前提交
bda2d7e868
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      libc/sysdeps/linux/common/sendfile.c

+ 1 - 0
libc/sysdeps/linux/common/sendfile.c

@@ -15,6 +15,7 @@ _syscall4(ssize_t, sendfile, int, out_fd, int, in_fd, __off_t *, offset,
 		  size_t, count);
 
 #if ! defined __NR_sendfile64 && defined __UCLIBC_HAS_LFS__
+#undef sendfile64
 extern __typeof(sendfile) sendfile64;
 libc_hidden_proto(sendfile64)
 strong_alias(sendfile,sendfile64)