diff options
author | Karl Williamson <khw@cpan.org> | 2022-09-02 09:59:00 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-09-10 12:26:52 -0600 |
commit | a760196638a4338f0a19155c78b1011e58784d8b (patch) | |
tree | c3b4f207502386393e0a287eee607ffd61c89025 /locale.c | |
parent | ef4243669d823be16f3bfc156d92e3d61964b87a (diff) | |
download | perl-a760196638a4338f0a19155c78b1011e58784d8b.tar.gz |
Move #include from locale.c to perl.h
Without this commit, Perl won't compile if -DUSE_NL_LOCALE_NAME is
specified to Configure. This is an undocumented feature that uses an
undocumented glibc feature that is effectively the querylocale() found
on Darwin and some other systems. POSIX 2017 has added a
querylocale-like function to the repertoire, and should eventually
supplant this option.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -107,7 +107,6 @@ static int debug_initialization = 0; #include "EXTERN.h" #define PERL_IN_LOCALE_C -#include "perl_langinfo.h" #include "perl.h" #include "reentr.h" |