You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/12/03 19:22:27 UTC

svn commit: r351997 - /httpd/httpd/trunk/server/core_filters.c

Author: pquerna
Date: Sat Dec  3 10:22:25 2005
New Revision: 351997

URL: http://svn.apache.org/viewcvs?rev=351997&view=rev
Log:
Only define sendfile_nonblocking if APR_HAS_SENDFILE is true.

Modified:
    httpd/httpd/trunk/server/core_filters.c

Modified: httpd/httpd/trunk/server/core_filters.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/core_filters.c?rev=351997&r1=351996&r2=351997&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core_filters.c (original)
+++ httpd/httpd/trunk/server/core_filters.c Sat Dec  3 10:22:25 2005
@@ -715,6 +715,8 @@
     }
 }
 
+#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 @@
     return rv;
 }
 
+#endif