summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.h b/gv.h
index c4e26c3024..e3611c6e56 100644
--- a/gv.h
+++ b/gv.h
@@ -47,7 +47,7 @@ struct gp {
(*({ GV * const zzzz = (GV *) (gv); \
assert(isGV_with_GP(zzzz)); \
assert(SvTYPE(zzzz) == SVt_PVGV || SvTYPE(zzzz) >= SVt_PVLV); \
- &(GvXPVGV(zzzz)->xgv_namehek); \
+ &(GvXPVGV(zzzz)->xiv_u.xivu_namehek); \
}))
#else
# define GvGP(gv) ((gv)->sv_u.svu_gp)