summaryrefslogtreecommitdiff
path: root/gv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gv.h')
-rw-r--r--gv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gv.h b/gv.h
index 4ba000d2e5..3e2bc90d9a 100644
--- a/gv.h
+++ b/gv.h
@@ -41,7 +41,7 @@ struct gp {
(*({ GV *_gv = (GV *) gv; \
assert(isGV_with_GP(_gv)); \
assert(SvTYPE(_gv) == SVt_PVGV || SvTYPE(_gv) >= SVt_PVLV); \
- &(GvXPVGV(_gv)->xgv_stash); \
+ &(GvXPVGV(_gv)->xnv_u.xgv_stash); \
}))
# define GvNAME(gv) \
(*({ GV *zzzz = (GV *) gv; \
@@ -58,7 +58,7 @@ struct gp {
#else
# define GvGP(gv) ((gv)->sv_u.svu_gp)
# define GvFLAGS(gv) (GvXPVGV(gv)->xgv_flags)
-# define GvSTASH(gv) (GvXPVGV(gv)->xgv_stash)
+# define GvSTASH(gv) (GvXPVGV(gv)->xnv_u.xgv_stash)
# define GvNAME(gv) (GvXPVGV(gv)->xgv_name)
# define GvNAMELEN(gv) (GvXPVGV(gv)->xgv_namelen)
#endif