mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
635 B
25 lines
635 B
5 years ago
|
diff --git a/configure b/configure
|
||
|
index ebe3d8c..a336b73 100755
|
||
|
--- a/configure
|
||
|
+++ b/configure
|
||
|
@@ -18943,7 +18943,6 @@ do :
|
||
|
ac_fn_c_check_func "$LINENO" "sendfile" "ac_cv_func_sendfile"
|
||
|
if test "x$ac_cv_func_sendfile" = xyes; then :
|
||
|
cat >>confdefs.h <<_ACEOF
|
||
|
-#define HAVE_SENDFILE 1
|
||
|
_ACEOF
|
||
|
|
||
|
fi
|
||
|
diff --git a/io.c b/io.c
|
||
|
index 82c5940538..a8d3661ec8 100644
|
||
|
--- a/io.c
|
||
|
+++ b/io.c
|
||
|
@@ -10721,7 +10721,6 @@ nogvl_copy_stream_wait_write(struct copy_stream_struct *stp)
|
||
|
}
|
||
|
|
||
|
#if defined HAVE_COPY_FILE_RANGE || (defined __linux__ && defined __NR_copy_file_range)
|
||
|
-# define USE_COPY_FILE_RANGE
|
||
|
#endif
|
||
|
|
||
|
#ifdef USE_COPY_FILE_RANGE
|