diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-06-17 10:46:37 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-06-17 10:46:37 +0100 |
commit | 79a921544258c0f3466f44738c4f0d24399782dd (patch) | |
tree | 92e81af0dbc6ce14f80279c0229c0d972c46a0c0 /util.c | |
parent | d9f81b50694a810f1b920a55481bdf183181048c (diff) | |
download | perl-79a921544258c0f3466f44738c4f0d24399782dd.tar.gz |
PERL_IMPLICIT_SYS also needs thread context for safesysfree()
PERL_TRACK_MEMPOOL needs it to work without -DDEBUGGING.
Fixes for 0cb20dae370512c6 not addressed by 1f4d2d4e2e4bb7bb.
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,7 +70,7 @@ S_write_no_mem(pTHX) NORETURN_FUNCTION_END; } -#if defined (DEBUGGING) || defined(PERL_IMPLICIT_SYS) +#if defined (DEBUGGING) || defined(PERL_IMPLICIT_SYS) || defined (PERL_TRACK_MEMPOOL) # define ALWAYS_NEED_THX #endif @@ -244,7 +244,7 @@ Perl_safesysrealloc(Malloc_t where,MEM_SIZE size) Free_t Perl_safesysfree(Malloc_t where) { -#if defined(DEBUGGING) && (defined(PERL_IMPLICIT_SYS) || defined(PERL_TRACK_MEMPOOL)) +#ifdef ALWAYS_NEED_THX dTHX; #else dVAR; |