This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #134098] no locales + debugging = no compile
authorKarl Williamson <khw@cpan.org>
Thu, 23 May 2019 17:58:09 +0000 (11:58 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 24 May 2019 23:09:30 +0000 (17:09 -0600)
The wrong #define was being tested for

locale.c

index bbf9093..dffedad 100644 (file)
--- a/locale.c
+++ b/locale.c
@@ -2227,7 +2227,7 @@ Perl_setlocale(const int category, const char * locale)
 {
     /* This wraps POSIX::setlocale() */
 
-#ifdef NO_LOCALE
+#ifndef USE_LOCALE
 
     PERL_UNUSED_ARG(category);
     PERL_UNUSED_ARG(locale);