From: Nicholas Clark Date: Wed, 18 Nov 2009 13:21:18 +0000 (+0000) Subject: PL_scopestack_name needs to be present, -DDEBUGGING or not. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f2b88940d815760ad254d35a0ee1eb2ed8ce7762;p=p5sagit%2Fp5-mst-13.2.git 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. --- diff --git a/intrpvar.h b/intrpvar.h index 20df305..650eb62 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)