mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 16:39:36 +00:00
makedef.pl: Properly define a hash element
I had been so used to working lately with C preprocessor directives that I used the same paradigm in Perl without noticing. If 'warnings' had been on, it would have caught this (the previous commit now turns them on).
This commit is contained in:
parent
c5ceea5ab0
commit
84fa78b483
@ -195,7 +195,7 @@ if ($define{MULTIPLICITY} && ( $define{USE_POSIX_2008_LOCALE}
|
||||
|| ( $define{WIN32}
|
||||
&& $define{USE_THREAD_SAFE_LOCALE})))
|
||||
{
|
||||
$define{USE_PERL_SWITCH_LOCALE_CONTEXT}
|
||||
$define{USE_PERL_SWITCH_LOCALE_CONTEXT} = 1;
|
||||
}
|
||||
|
||||
# perl.h logic duplication ends
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user