Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion main/io/php_io_copy_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@

#if !defined(HAVE_COPY_FILE_RANGE) && defined(__NR_copy_file_range)
#define HAVE_COPY_FILE_RANGE 1
static inline ssize_t copy_file_range(
static inline ssize_t php_copy_file_range(
int fd_in, off_t *off_in, int fd_out, off_t *off_out, size_t len, unsigned int flags)
{
return syscall(__NR_copy_file_range, fd_in, off_in, fd_out, off_out, len, flags);
}
#define copy_file_range php_copy_file_range
#endif

#ifdef HAVE_SENDFILE
Expand Down
Loading