summaryrefslogtreecommitdiff
path: root/vutil.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2018-12-26 10:41:28 +0000
committerDavid Mitchell <davem@iabyn.com>2019-02-19 13:28:11 +0000
commit8633b5394e9f1be292f2b13d5f642a205ae31509 (patch)
tree5cad81dfb0e21e986d7dbfc4ceaf43f2ab570294 /vutil.c
parent1565c085c35f9f8b0c729dff0ac353dcb8d79df6 (diff)
downloadperl-8633b5394e9f1be292f2b13d5f642a205ae31509.tar.gz
vutil.c: build under PERL_GLOBAL_STRUCT_PRIVATE
The perl build option -DPERL_GLOBAL_STRUCT_PRIVATE had bit-rotted due to lack of smoking. This commit and the next fix it. I've separated out the vutil.c change into a separate commit since this file is actually part of the 'version' CPAN distribution and normally should be edited upstream first.
Diffstat (limited to 'vutil.c')
-rw-r--r--vutil.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vutil.c b/vutil.c
index 5d183a0f29..2367489153 100644
--- a/vutil.c
+++ b/vutil.c
@@ -571,6 +571,11 @@ Perl_upg_version2(pTHX_ SV *ver, bool qv)
Perl_upg_version(pTHX_ SV *ver, bool qv)
#endif
{
+
+#ifdef dVAR
+ dVAR;
+#endif
+
const char *version, *s;
#ifdef SvVOK
const MAGIC *mg;