Skip to content

Commit 0bccffc

Browse files
Handle changed API for determining MPM name in Apache 2.4.
1 parent a4fe7d8 commit 0bccffc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/server/wsgi_apache.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ APLOG_USE_MODULE(wsgi);
9898
#define APR_FPROT_WWRITE APR_WWRITE
9999
#endif
100100

101+
#ifndef MPM_NAME
102+
#define MPM_NAME ap_show_mpm()
103+
#endif
104+
101105
#if !AP_MODULE_MAGIC_AT_LEAST(20050127,0)
102106
/* Debian backported ap_regex_t to Apache 2.0 and
103107
* thus made official version checking break. */

0 commit comments

Comments
 (0)