Skip to content

Commit 84fa78b

Browse files
khwilliamsondemerphq
authored andcommitted
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).
1 parent c5ceea5 commit 84fa78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makedef.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ BEGIN
195195
|| ( $define{WIN32}
196196
&& $define{USE_THREAD_SAFE_LOCALE})))
197197
{
198-
$define{USE_PERL_SWITCH_LOCALE_CONTEXT}
198+
$define{USE_PERL_SWITCH_LOCALE_CONTEXT} = 1;
199199
}
200200

201201
# perl.h logic duplication ends

0 commit comments

Comments
 (0)