From: Bill Stoddard Date: Fri, 23 Jun 2000 16:00:29 +0000 (+0000) Subject: Properly detect the existance of send_file() on AIX X-Git-Tag: APACHE_2_0_ALPHA_5~260 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbb60cf4c32ce75caffe9dbf10f417d2c1e87a1d;p=apache Properly detect the existance of send_file() on AIX Submitted by: Victor Orlikowski Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85674 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 7a0b8ff12d..cdea69a3c2 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2171,7 +2171,7 @@ static void check_first_conn_error(const request_rec *r, const char *operation, API_EXPORT(long) ap_send_fd(ap_file_t *fd, request_rec *r) { long len = r->finfo.size; -#ifdef HAVE_SENDFILE +#if APR_HAS_SENDFILE if (!r->chunked) { ap_status_t rv; ap_bsetopt(r->connection->client, BO_TIMEOUT,