29 lines
779 B
Diff
29 lines
779 B
Diff
|
From 473acbf4ecb1aef09485f2f1cb35988a52c0e274 Mon Sep 17 00:00:00 2001
|
||
|
From: Stefan Fritsch <sf@sfritsch.de>
|
||
|
Date: Sun, 22 Apr 2012 21:26:01 +0200
|
||
|
Subject: [PATCH 01/28] fix compile with httpd trunk and AP_DEBUG
|
||
|
|
||
|
some palloc debugging feature doesn't work within XS
|
||
|
---
|
||
|
src/modules/perl/modperl_apache_includes.h | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/src/modules/perl/modperl_apache_includes.h b/src/modules/perl/modperl_apache_includes.h
|
||
|
index c93decc..dd39bf6 100644
|
||
|
--- a/src/modules/perl/modperl_apache_includes.h
|
||
|
+++ b/src/modules/perl/modperl_apache_includes.h
|
||
|
@@ -23,6 +23,10 @@
|
||
|
#define CORE_PRIVATE
|
||
|
#endif
|
||
|
|
||
|
+#ifdef MP_IN_XS
|
||
|
+#define AP_DEBUG_NO_ALLOC_POISON
|
||
|
+#endif
|
||
|
+
|
||
|
#include "ap_mmn.h"
|
||
|
#include "httpd.h"
|
||
|
#include "http_config.h"
|
||
|
--
|
||
|
1.7.11.4
|
||
|
|