Skip to content

Commit 13fa1e6

Browse files
committed
mod_limits.h: Added support for Apache 2.4
1 parent f7f4db0 commit 13fa1e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mod_limits.h

+5
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
#include "apr_strings.h"
4242
#endif
4343

44+
#if defined(AP_SERVER_MAJORVERSION_NUMBER) && AP_SERVER_MAJORVERSION_NUMBER == 2 && defined(AP_SERVER_MINORVERSION_NUMBER) && AP_SERVER_MINORVERSION_NUMBER >= 4
45+
#define APACHE24
46+
#endif
47+
48+
4449
static int server_limit, thread_limit;
4550

4651
typedef struct {

0 commit comments

Comments
 (0)