This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Move #define to perl.h; use it elsewhere
[perl5.git] / locale.c
index 97e85f5..d736bca 100644 (file)
--- a/locale.c
+++ b/locale.c
@@ -585,9 +585,7 @@ Perl_locale_panic(const char * msg,
 #  define querylocale_c(cat)    querylocale_i(cat##_INDEX_)
 #  define querylocale_r(cat)    querylocale_i(get_category_index(cat,NULL))
 
-#  ifndef USE_QUERYLOCALE
-#    define USE_PL_CURLOCALES
-#  else
+#  ifdef USE_QUERYLOCALE
 #    define isSINGLE_BIT_SET(mask) isPOWER_OF_2(mask)
 
      /* This code used to think querylocale() was valid on LC_ALL.  Make sure