]> granicus.if.org Git - apache/commitdiff
Properly detect the existance of send_file() on AIX
authorBill Stoddard <stoddard@apache.org>
Fri, 23 Jun 2000 16:00:29 +0000 (16:00 +0000)
committerBill Stoddard <stoddard@apache.org>
Fri, 23 Jun 2000 16:00:29 +0000 (16:00 +0000)
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

index 7a0b8ff12db5accd0fa6c6d1cc868c05cc6a6daf..cdea69a3c2df658dda61f5b55e5f17fbb6ab67aa 100644 (file)
@@ -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,