You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2015/10/11 19:04:10 UTC

svn commit: r1708002 - /httpd/httpd/trunk/modules/http2/h2_util.c

Author: icing
Date: Sun Oct 11 17:04:10 2015
New Revision: 1708002

URL: http://svn.apache.org/viewvc?rev=1708002&view=rev
Log:
ifdef'fing MMAP bucket checks for platform that do not have them

Modified:
    httpd/httpd/trunk/modules/http2/h2_util.c

Modified: httpd/httpd/trunk/modules/http2/h2_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_util.c?rev=1708002&r1=1708001&r2=1708002&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_util.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_util.c Sun Oct 11 17:04:10 2015
@@ -697,9 +697,11 @@ void h2_util_bb_log(conn_rec *c, int str
                 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";
                 }