1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

Only define sendfile_nonblocking if APR_HAS_SENDFILE is true.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@351997 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Paul Querna
2005-12-03 18:22:25 +00:00
parent e38f939d87
commit f79a005805

View File

@@ -715,6 +715,8 @@ static apr_status_t writev_nonblocking(apr_socket_t *s,
}
}
#if APR_HAS_SENDFILE
static apr_status_t sendfile_nonblocking(apr_socket_t *s,
apr_bucket_brigade *bb,
apr_size_t *cumulative_bytes_written,
@@ -777,3 +779,4 @@ static apr_status_t sendfile_nonblocking(apr_socket_t *s,
return rv;
}
#endif