diff options
author | Tomasz Konojacki <me@xenu.pl> | 2021-06-04 22:05:04 +0200 |
---|---|---|
committer | xenu <me@xenu.pl> | 2021-06-09 19:32:14 +0200 |
commit | 6e512bc2beef5b8b17502db7edf50b5984776318 (patch) | |
tree | edaaaa9d096a12cf43b5620afa8712a8951c1472 /makedef.pl | |
parent | 44e4059baf939468ae61cb63c0c2871c40147dc3 (diff) | |
download | perl-6e512bc2beef5b8b17502db7edf50b5984776318.tar.gz |
replace all instances of PERL_IMPLICIT_CONTEXT with MULTIPLICITY
Since the removal of PERL_OBJECT
(acfe0abcedaf592fb4b9cb69ce3468308ae99d91) PERL_IMPLICIT_CONTEXT and
MULTIPLICITY have been synonymous and they're being used interchangeably.
To simplify the code, this commit replaces all instances of
PERL_IMPLICIT_CONTEXT with MULTIPLICITY.
PERL_IMPLICIT_CONTEXT will stay defined for compatibility with XS
modules.
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/makedef.pl b/makedef.pl index 94ff2f54d1..b5b07a7ece 100644 --- a/makedef.pl +++ b/makedef.pl @@ -117,9 +117,9 @@ if ($define{USE_ITHREADS}) { } } -$define{PERL_IMPLICIT_CONTEXT} ||= +$define{MULTIPLICITY} ||= $define{USE_ITHREADS} || - $define{MULTIPLICITY} ; + $define{PERL_IMPLICIT_CONTEXT} ; if ($define{USE_ITHREADS} && $ARGS{PLATFORM} ne 'win32' && $ARGS{PLATFORM} ne 'netware') { $define{USE_REENTRANT_API} = 1; @@ -427,7 +427,7 @@ unless ( $define{'HAS_NEWLOCALE'} ); } -unless ($define{'PERL_IMPLICIT_CONTEXT'}) { +unless ($define{'MULTIPLICITY'}) { ++$skip{$_} foreach qw( PL_my_cxt_index PL_my_cxt_list |