소스 검색

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)