From fbb60cf4c32ce75caffe9dbf10f417d2c1e87a1d Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Fri, 23 Jun 2000 16:00:29 +0000 Subject: [PATCH] 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 --- modules/http/http_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.40.0