summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-04-28 15:14:03 +0100
committerNicholas Clark <nick@ccl4.org>2011-05-22 21:02:40 +0100
commit09ddd873b3e78c57ed3305c160e5206545a5f1bc (patch)
tree5349dc0db6b208cd4a9ee5c3955467062336ccfc /hv.c
parent0cd674b00397cbdf4d09c797f8bcf6bb74e478dc (diff)
downloadperl-09ddd873b3e78c57ed3305c160e5206545a5f1bc.tar.gz
Perl_refcounted_he_inc() needs a dVAR to compile with -DPERL_GLOBAL_STRUCT
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hv.c b/hv.c
index 2bb8ab01ec..aa1783ebea 100644
--- a/hv.c
+++ b/hv.c
@@ -3273,6 +3273,7 @@ to this function: no action occurs and a null pointer is returned.
struct refcounted_he *
Perl_refcounted_he_inc(pTHX_ struct refcounted_he *he)
{
+ dVAR;
if (he) {
HINTS_REFCNT_LOCK;
he->refcounted_he_refcnt++;