Skip to content

Commit

Permalink
makedef.pl: Properly define a hash element
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
khwilliamson authored and demerphq committed Dec 10, 2022
1 parent c5ceea5 commit 84fa78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makedef.pl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ BEGIN
|| ( $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
Expand Down

0 comments on commit 84fa78b

Please sign in to comment.