Procházet zdrojové kódy

another attempt to fix sendfile64

Peter S. Mazinger před 20 roky
rodič
revize
bda2d7e868
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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)