summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2015-06-28 18:30:29 -0700
committerFather Chrysostomos <sprout@cpan.org>2015-06-29 08:20:28 -0700
commit93c10d608c4f8b29a548e6e6da3816375c034859 (patch)
treee54250d236da59cadc1edcfffe8f68ce37f96cb4 /sv.h
parentb326ddffeee24461c6f5622c518bb5a454b10935 (diff)
downloadperl-93c10d608c4f8b29a548e6e6da3816375c034859.tar.gz
Remove NEW_ from PERL_NEW_COPY_ON_WRITE
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.h b/sv.h
index 5b5994e4bf..49cafe47bf 100644
--- a/sv.h
+++ b/sv.h
@@ -1864,7 +1864,7 @@ Like sv_utf8_upgrade, but doesn't do magic on C<sv>.
#define SV_CHECK_THINKFIRST_COW_DROP(sv) if (SvTHINKFIRST(sv)) \
sv_force_normal_flags(sv, SV_COW_DROP_PV)
-#ifdef PERL_NEW_COPY_ON_WRITE
+#ifdef PERL_COPY_ON_WRITE
# define SvCANCOW(sv) \
(SvIsCOW(sv) \
? SvLEN(sv) ? CowREFCNT(sv) != SV_COW_REFCNT_MAX : 1 \