summaryrefslogtreecommitdiff
path: root/perlvars.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2019-02-19 12:29:38 +0000
committerDavid Mitchell <davem@iabyn.com>2019-02-19 13:29:06 +0000
commitc32805c1fdc2309bfc236013edc5490117fb28df (patch)
treed4184746862f6700319cca6fc90f9e92ca69eb32 /perlvars.h
parenta6098fe8178c5ef2e7abbc8faf4c0f62b9b197ea (diff)
downloadperl-c32805c1fdc2309bfc236013edc5490117fb28df.tar.gz
perlvars.h: remove #ifdef DEBUGGING
Under PERL_GLOBAL_STRUCT, all the "global" vars are put in a structure, which means perlvars.h needs a similar constraint to intrpvar.h: its size and alignment shouldn't change between debugging and non-debugging builds. This is because regcomp/exec.c are compiled both with and without DEBUGGING. [Fixed by Karl]
Diffstat (limited to 'perlvars.h')
-rw-r--r--perlvars.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/perlvars.h b/perlvars.h
index be56d5407a..edc96c46a5 100644
--- a/perlvars.h
+++ b/perlvars.h
@@ -111,9 +111,7 @@ PERLVAR(G, lc_numeric_mutex, perl_mutex) /* Mutex for switching LC_NUMERIC */
PERLVAR(G, C_locale_obj, locale_t)
#endif
-#ifdef DEBUGGING
PERLVARI(G, watch_pvx, char *, NULL)
-#endif
/*
=for apidoc AmU|Perl_check_t *|PL_check