summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
Diffstat (limited to 'cv.h')
-rw-r--r--cv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cv.h b/cv.h
index aca3748936..53c4733c4d 100644
--- a/cv.h
+++ b/cv.h
@@ -56,10 +56,10 @@ Returns the stash of the CV.
#endif
#define CvFILEGV(sv) (gv_fetchfile(CvFILE(sv)))
#if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
-# define CvDEPTH(sv) (*({const CV *_cv = (CV *)sv; \
- assert(SvTYPE(_cv) == SVt_PVCV || \
- SvTYPE(_cv) == SVt_PVFM); \
- &((XPVCV*)SvANY(_cv))->xiv_u.xivu_i32; \
+# define CvDEPTH(sv) (*({const CV *_cvdepth = (CV *)sv; \
+ assert(SvTYPE(_cvdepth) == SVt_PVCV || \
+ SvTYPE(_cvdepth) == SVt_PVFM); \
+ &((XPVCV*)SvANY(_cvdepth))->xiv_u.xivu_i32; \
}))
#else
# define CvDEPTH(sv) ((XPVCV*)SvANY(sv))->xiv_u.xivu_i32