mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
protect 'AP_DECLARE_MODULE(deflate)' from expansion to
'AP_DECLARE_MODULE(z_deflate)' if zlib has been built with -DZ_PREFIX. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1495825 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,6 +1,10 @@
|
||||
-*- coding: utf-8 -*-
|
||||
Changes with Apache 2.5.0
|
||||
|
||||
*) mod_deflate: permit compilation of mod_deflate against a zlib that has
|
||||
been configured with -D Z_PREFIX, which redefines the token "deflate".
|
||||
[Eric Covener]
|
||||
|
||||
*) mod_socache_shmcb.c: Remove arbitrary restriction on shared memory size
|
||||
previously limited to 64MB. [Jens Låås <jelaas gmail.com>]
|
||||
|
||||
|
||||
@@ -1551,6 +1551,10 @@ static const command_rec deflate_filter_cmds[] = {
|
||||
{NULL}
|
||||
};
|
||||
|
||||
/* zlib can be built with #define deflate z_deflate */
|
||||
#ifdef deflate
|
||||
#undef deflate
|
||||
#endif
|
||||
AP_DECLARE_MODULE(deflate) = {
|
||||
STANDARD20_MODULE_STUFF,
|
||||
NULL, /* dir config creater */
|
||||
|
||||
Reference in New Issue
Block a user