summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-11-18 13:21:18 +0000
committerNicholas Clark <nick@ccl4.org>2009-11-18 13:23:40 +0000
commitf2b88940d815760ad254d35a0ee1eb2ed8ce7762 (patch)
tree9e5575cf7c040623609df23038ed12831e5d56b2 /intrpvar.h
parent0a18d57236ee1f3a9adcd97dded481fe3efb9e78 (diff)
downloadperl-f2b88940d815760ad254d35a0ee1eb2ed8ce7762.tar.gz
PL_scopestack_name needs to be present, -DDEBUGGING or not.
-DDEBUGGING and not need to be binary compatible with each other. Fixes the test failures in ext/re caused by d343c3ef45381352 for threaded builds without -DDEBUGGING.
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intrpvar.h b/intrpvar.h
index 20df3050f3..650eb62c8e 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -43,9 +43,9 @@ PERLVAR(Istack_base, SV **)
PERLVAR(Istack_max, SV **)
PERLVAR(Iscopestack, I32 *) /* scopes we've ENTERed */
-#ifdef DEBUGGING
-PERLVAR(Iscopestack_name, const char * *) /* name of the scopes we've ENTERed */
-#endif
+/* name of the scopes we've ENTERed. Only used with -DDEBUGGING, but needs to be
+ present always, as -DDEUBGGING must be binary compatible with non. */
+PERLVARI(Iscopestack_name, const char * *, NULL)
PERLVAR(Iscopestack_ix, I32)
PERLVAR(Iscopestack_max,I32)