summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2018-12-26 10:45:22 +0000
committerDavid Mitchell <davem@iabyn.com>2019-02-19 13:28:11 +0000
commit1565c085c35f9f8b0c729dff0ac353dcb8d79df6 (patch)
tree8a43c3a91cfb4d51f5455d00614a9896494e6112 /util.c
parent0bb8cb436da6e18869ede1dfa3d55abc438bff5f (diff)
downloadperl-1565c085c35f9f8b0c729dff0ac353dcb8d79df6.tar.gz
add dVAR's for PERL_GLOBAL_STRUCT_PRIVATE builds
The perl build option -DPERL_GLOBAL_STRUCT_PRIVATE had bit-rotted due to lack of smoking. The main fix is to just add 'dVAR;' to any functions which have a pTHX arg. It's a NOOP on normal builds.
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index 8c9909e10c..5b6f4bfd27 100644
--- a/util.c
+++ b/util.c
@@ -1527,6 +1527,7 @@ S_with_queued_errors(pTHX_ SV *ex)
STATIC bool
S_invoke_exception_hook(pTHX_ SV *ex, bool warn)
{
+ dVAR;
HV *stash;
GV *gv;
CV *cv;