]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
ifdef'fing MMAP bucket checks for platform that do not have them
authorStefan Eissing <icing@apache.org>
Sun, 11 Oct 2015 17:04:10 +0000 (17:04 +0000)
committerStefan Eissing <icing@apache.org>
Sun, 11 Oct 2015 17:04:10 +0000 (17:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1708002 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_util.c

index 6f29b461d66a1b1ef531711188f584b82a293990..ac6d59482a73e961c904f64c2d150dfac1147830 100644 (file)
@@ -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";
                 }