diff options
author | Karl Williamson <khw@cpan.org> | 2022-09-10 14:38:31 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-09-12 12:01:15 -0600 |
commit | 6b32b503be79c65dad8e40d6c22eb559555fbb1d (patch) | |
tree | 7f8503a222c80e20af3c56e10ecb26d4f61ea9ca /locale.c | |
parent | 5d56ab3b3534ebd6be4fa6e897bff1604979f08d (diff) | |
download | perl-6b32b503be79c65dad8e40d6c22eb559555fbb1d.tar.gz |
Win32 should start new threads in C locale
Prior to this commit, wrong cpp directives did not guarantee this.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6536,12 +6536,11 @@ Perl_thread_locale_init() /* On Windows, make sure new thread has per-thread locales enabled */ _configthreadlocale(_ENABLE_PER_THREAD_LOCALE); -# else +# endif /* This thread starts off in the C locale */ Perl_setlocale(LC_ALL, "C"); -# endif #endif } |