summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-08 10:08:01 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-08 10:08:01 +0000
commitf8c7b90fa8a3676239aeea262e148f9a4e497558 (patch)
tree2bd92ea6dd787a91993da91818f00e45c79399e6 /regexp.h
parent1a4fad37125bac3e69c02ee6b2e57c14777484e6 (diff)
downloadperl-f8c7b90fa8a3676239aeea262e148f9a4e497558.tar.gz
s/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/g
p4raw-id: //depot/perl@24755
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexp.h b/regexp.h
index f5d2424086..3ff959c120 100644
--- a/regexp.h
+++ b/regexp.h
@@ -37,7 +37,7 @@ typedef struct regexp {
struct reg_data *data; /* Additional data. */
char *subbeg; /* saved or original string
so \digit works forever. */
-#ifdef PERL_COPY_ON_WRITE
+#ifdef PERL_OLD_COPY_ON_WRITE
SV *saved_copy; /* If non-NULL, SV which is COW from original */
#endif
U32 *offsets; /* offset annotations 20001228 MJD */
@@ -104,7 +104,7 @@ typedef struct regexp {
? RX_MATCH_COPIED_on(prog) \
: RX_MATCH_COPIED_off(prog))
-#ifdef PERL_COPY_ON_WRITE
+#ifdef PERL_OLD_COPY_ON_WRITE
#define RX_MATCH_COPY_FREE(rx) \
STMT_START {if (rx->saved_copy) { \
SV_CHECK_THINKFIRST_COW_DROP(rx->saved_copy); \