From 62b6269551715f3d6c6237ce68f3144949df5ab9 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Thu, 9 Dec 1999 21:47:45 +0000 Subject: [PATCH] Fix Windows build break git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84268 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 94b57ff2e2..4624ce3e57 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2155,6 +2155,8 @@ API_EXPORT(long) ap_send_fb_length(BUFF *fb, request_rec *r, long length) return total_bytes_sent; } +#ifdef USE_MMAP_FILES + /* The code writes MMAP_SEGMENT_SIZE bytes at a time. This is due to Apache's * timeout model, which is a timeout per-write rather than a time for the * entire transaction to complete. Essentially this should be small enough @@ -2218,6 +2220,7 @@ API_EXPORT(size_t) ap_send_mmap(ap_mmap_t *mm, request_rec *r, size_t offset, SET_BYTES_SENT(r); return total_bytes_sent; } +#endif /* USE_MMAP_FILES */ API_EXPORT(int) ap_rputc(int c, request_rec *r) { -- 2.50.1