summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2009-06-11 16:28:46 -0600
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-21 14:11:51 +0200
commit73d1d97336c68e0f5b29937cb9347a00df4c645c (patch)
treed945b61ebc8c34d6fb4a39531391dcf7c98af98f /embed.fnc
parentde10be12cd3b4d2e91c136c495230f49b31a4511 (diff)
downloadperl-73d1d97336c68e0f5b29937cb9347a00df4c645c.tar.gz
invert and rename PERL_MEM_LOG_STDERR to PERL_MEM_LOG_NOIMPL
Most users who want PERL_MEM_LOG want the default implementation, give it to them. Users providing their own implementation can obtain current behavior by adding -DPERL_MEM_LOG_NOIMPL. Frankly, the average user probably wants _ENV by default too.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 08f7725d09..ae5c9f67fb 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1834,7 +1834,7 @@ s |const char *|vdie_croak_common|NULLOK const char *pat|NULLOK va_list *args \
s |bool |vdie_common |NULLOK const char *message|STRLEN msglen\
|I32 utf8|bool warn
sr |char * |write_no_mem
-#if defined(PERL_MEM_LOG) && defined(PERL_MEM_LOG_STDERR)
+#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
sn |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
|NN const char *type_name|NULLOK const SV *sv \
|Malloc_t oldalloc|Malloc_t newalloc \