diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 09:09:28 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 09:09:28 +0000 |
commit | c0e1089ae3d29de8c9817373e1b7f36eaf9a9cd8 (patch) | |
tree | 53de7fa06d8b6543f449aa575af720cc29623b8a | |
parent | 4c3a5487bc880aeef49d16df8ac95c06dc9ed37e (diff) | |
download | perl-c0e1089ae3d29de8c9817373e1b7f36eaf9a9cd8.tar.gz |
Don't test the core XS code yet with PERL_DEBUG_COW > 1
p4raw-id: //depot/perl@24751
-rw-r--r-- | sv.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -873,7 +873,8 @@ in gv.h: */ #define SvIVX(sv) (0 + ((XPVIV*) SvANY(sv))->xiv_iv) #define SvUVX(sv) (0 + ((XPVUV*) SvANY(sv))->xuv_uv) #define SvNVX(sv) (0 + ((XPVNV*) SvANY(sv))->xnv_nv) -#if PERL_DEBUG_COW > 1 +/* Don't test the core XS code yet. */ +#if defined (PERL_CORE) && PERL_DEBUG_COW > 1 #define SvPVX(sv) (0 + (assert(!SvREADONLY(sv)), (sv)->sv_u.svu_pv)) #else #define SvPVX(sv) SvPVX_mutable(sv) |