summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-03-23 22:35:09 +0000
committerNicholas Clark <nick@ccl4.org>2004-03-23 22:35:09 +0000
commit9df442c23deb1b1ba2f163eb54deeb4fe82ea80c (patch)
tree3cb6763b2644dd39a94a1066966a399f8cdd06e5 /config_h.SH
parentb84d08606128d31ab874c747150180e32486af44 (diff)
downloadperl-9df442c23deb1b1ba2f163eb54deeb4fe82ea80c.tar.gz
Make usemallocwrap a Configure-time question. Default is yes for
usedevel, no otherwise, but I'm expecting hints files on known good platforms to override this. (and known bad) Demonstration hints file for darwin. p4raw-id: //depot/perl@22571
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH5
1 files changed, 5 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index 9dd1c9c946..18697fb7fb 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -2186,6 +2186,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_mymalloc MYMALLOC /**/
+/* PERL_MALLOC_WRAP:
+ * This symbol, if defined, indicates that we'd like malloc wrap checks.
+ */
+#$usemallocwrap PERL_MALLOC_WRAP /**/
+
/* CAN_PROTOTYPE:
* If defined, this macro indicates that the C compiler can handle
* function prototypes.