From: Stefan Eissing Date: Sun, 11 Oct 2015 17:04:10 +0000 (+0000) Subject: ifdef'fing MMAP bucket checks for platform that do not have them X-Git-Tag: 2.5.0-alpha~2725 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a38398cdf6ef1b005459b8efc875e4c5aa3c0b7;p=thirdparty%2Fapache%2Fhttpd.git ifdef'fing MMAP bucket checks for platform that do not have them git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708002 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_util.c b/modules/http2/h2_util.c index 6f29b461d66..ac6d59482a7 100644 --- a/modules/http2/h2_util.c +++ b/modules/http2/h2_util.c @@ -697,9 +697,11 @@ void h2_util_bb_log(conn_rec *c, int stream_id, int level, else if (APR_BUCKET_IS_IMMORTAL(b)) { btype = "immortal"; } +#if APR_HAS_MMAP else if (APR_BUCKET_IS_MMAP(b)) { btype = "mmap"; } +#endif else if (APR_BUCKET_IS_POOL(b)) { btype = "pool"; }