diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-11-21 12:45:33 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-11-27 07:05:02 -0800 |
commit | 07d01d6ec25527bf0236de2205ea412d40353058 (patch) | |
tree | 672c15b1b0746a0275ffcccb93f39438bb36d55a /perl.h | |
parent | f7a8268cd8b5af71e2d24a595ca88e48464a3e94 (diff) | |
download | perl-07d01d6ec25527bf0236de2205ea412d40353058.tar.gz |
Enable PERL_NEW_COPY_ON_WRITE by default
One can disable this with -Accflags=-DPERL_NO_COW.
I am leaving this in for debugging purposes. If it causes no problems
in 5.18, we might remove the defines and enable it unconditionally in
5.20, but then again we might not.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2494,6 +2494,10 @@ typedef AV PAD; typedef AV PADNAMELIST; typedef SV PADNAME; +#if !defined(PERL_OLD_COPY_ON_WRITE) && !defined(PERL_NEW_COPY_ON_WRITE) && !defined(PERL_NO_COW) +# define PERL_NEW_COPY_ON_WRITE +#endif + #if defined(PERL_OLD_COPY_ON_WRITE) || defined(PERL_NEW_COPY_ON_WRITE) # if defined(PERL_OLD_COPY_ON_WRITE) && defined(PERL_NEW_COPY_ON_WRITE) # error PERL_OLD_COPY_ON_WRITE and PERL_NEW_COPY_ON_WRITE are exclusive |