This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl.h: Actually #define USE_LOCALE_TIME
authorKarl Williamson <khw@cpan.org>
Wed, 9 Jul 2014 17:26:26 +0000 (11:26 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 12 Jul 2014 14:41:13 +0000 (08:41 -0600)
This symbol is used, but was never defined

perl.h

diff --git a/perl.h b/perl.h
index 6ec5bb0..54f6dca 100644 (file)
--- a/perl.h
+++ b/perl.h
 #   if !defined(NO_LOCALE_MONETARY) && defined(LC_MONETARY)
 #      define USE_LOCALE_MONETARY
 #   endif
 #   if !defined(NO_LOCALE_MONETARY) && defined(LC_MONETARY)
 #      define USE_LOCALE_MONETARY
 #   endif
+#   if !defined(NO_LOCALE_TIME) && defined(LC_TIME)
+#      define USE_LOCALE_TIME
+#   endif
 #   ifndef WIN32    /* No wrapper except on Windows */
 #       define my_setlocale(a,b) setlocale(a,b)
 #   endif
 #   ifndef WIN32    /* No wrapper except on Windows */
 #       define my_setlocale(a,b) setlocale(a,b)
 #   endif
@@ -4690,6 +4693,9 @@ EXTCONST char PL_bincompat_options[] =
 #  ifdef USE_LOCALE_NUMERIC
                             " USE_LOCALE_NUMERIC"
 #  endif
 #  ifdef USE_LOCALE_NUMERIC
                             " USE_LOCALE_NUMERIC"
 #  endif
+#  ifdef USE_LOCALE_TIME
+                            " USE_LOCALE_TIME"
+#  endif
 #  ifdef USE_LONG_DOUBLE
                             " USE_LONG_DOUBLE"
 #  endif
 #  ifdef USE_LONG_DOUBLE
                             " USE_LONG_DOUBLE"
 #  endif