summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-10-05 06:35:19 -0600
committerKarl Williamson <khw@cpan.org>2022-10-10 13:12:22 -0600
commit8137ab6c635eb29138d165cee92637dbabc0b362 (patch)
tree80a2bd231384a50fe1d88062323e586057e53bee /embed.fnc
parent29dd0ffa727c58df0c83446b61a7f9e2cb79a179 (diff)
downloadperl-8137ab6c635eb29138d165cee92637dbabc0b362.tar.gz
locale.c: Move find_locale_from_environment() in file
This is in preparation for this function to be used under more circumstances.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 0e66ce4582..0e663f02b2 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3381,7 +3381,6 @@ S |const char *|setlocale_from_aggregate_LC_ALL \
S |const char*|update_PL_curlocales_i|const unsigned int index \
|NN const char * new_locale \
|recalc_lc_all_t recalc_LC_ALL
-S |const char *|find_locale_from_environment|const unsigned int index
# endif
# else
# if defined(USE_LOCALE_THREADS) \
@@ -3402,6 +3401,9 @@ S |void |less_dicey_void_setlocale_i \
|const line_t line
# endif
# endif
+# if defined(USE_POSIX_2008_LOCALE) && ! defined(USE_QUERYLOCALE)
+S |const char *|find_locale_from_environment|const unsigned int index
+# endif
# if defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE)
S |const char *|calculate_LC_ALL|const locale_t cur_obj
# else