summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-01-06 18:57:29 +0000
committerNicholas Clark <nick@ccl4.org>2004-01-06 18:57:29 +0000
commit049737a6f0a706e47a848e799c32df4d07613448 (patch)
treed9e255afe2e5b7f91e8ae311ca56fac5c65a1521 /embed.h
parent800633c3daced5882d77eb7f133a700d5838565e (diff)
downloadperl-049737a6f0a706e47a848e799c32df4d07613448.tar.gz
Seems that sv_setsv_cow needs to be visible to core extensions,
so that re will build properly on Win32. Thanks to Steve Hay for trying COW and finding the problems. p4raw-id: //depot/perl@22083
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index e6d51b5ad7..d3f3d97d97 100644
--- a/embed.h
+++ b/embed.h
@@ -2050,7 +2050,7 @@
#define my_atof2 Perl_my_atof2
#define my_socketpair Perl_my_socketpair
#ifdef PERL_COPY_ON_WRITE
-#ifdef PERL_CORE
+#if defined(PERL_CORE) || defined(PERL_EXT)
#define sv_setsv_cow Perl_sv_setsv_cow
#endif
#endif
@@ -4543,7 +4543,7 @@
#define my_atof2(a,b) Perl_my_atof2(aTHX_ a,b)
#define my_socketpair Perl_my_socketpair
#ifdef PERL_COPY_ON_WRITE
-#ifdef PERL_CORE
+#if defined(PERL_CORE) || defined(PERL_EXT)
#define sv_setsv_cow(a,b) Perl_sv_setsv_cow(aTHX_ a,b)
#endif
#endif