This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locales: Add #define; change how to override
authorKarl Williamson <khw@cpan.org>
Mon, 24 Jul 2017 22:02:34 +0000 (16:02 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 13 Aug 2017 04:53:10 +0000 (22:53 -0600)
commitf1d2176bc7ecf5a51b9faeb6e2a2b2e6c900283e
treefe489b3c747bbd886ea42293b550a32aaa45d3f8
parent106ab961dc7ce210c7a4d36b055daffe9c0f76ce
locales: Add #define; change how to override

This changes the controlling #define for using the POSIX 2008 locale
functions to "USE_POSIX_2008_LOCALE".  The previous controlling name
"USE_THREAD_SAFE_LOCALE" is retained for backward compatibility.

The reason for this change is that we may add thread-safe locale
handling even on platforms that don't have Posix 2008, so the name
USE_THREAD_SAFE_LOCALE would be used for controlling things in that
situation.

In other words, the concepts may become distinct, and so prepare for
that.
locale.c
perl.c
perl.h