summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-11-26 18:06:59 -0700
committerKarl Williamson <khw@cpan.org>2022-12-07 09:13:37 -0700
commit9cac334660ea472bfc0d5e7cc02987514ce6573b (patch)
tree0d8ceacf6f63c745452ac47f4c4610e5c5d57f8f /embed.h
parent525e8d06ae8a84702e984bf5485c417a73e49b47 (diff)
downloadperl-9cac334660ea472bfc0d5e7cc02987514ce6573b.tar.gz
locale.c: Move 2 functions elsewhere in the code
This is in preparation for them to be called on platforms where locale handling is not enabled.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index 73b32a1c88..c7be635c91 100644
--- a/embed.h
+++ b/embed.h
@@ -1763,10 +1763,10 @@
#define unshare_hek_or_pvn(a,b,c,d) S_unshare_hek_or_pvn(aTHX_ a,b,c,d)
# endif
# if defined(PERL_IN_LOCALE_C)
-# if defined(USE_LOCALE)
-#define get_category_index S_get_category_index
#define get_locale_string_utf8ness_i(a,b,c,d) S_get_locale_string_utf8ness_i(aTHX_ a,b,c,d)
#define is_locale_utf8(a) S_is_locale_utf8(aTHX_ a)
+# if defined(USE_LOCALE)
+#define get_category_index S_get_category_index
#define mortalized_pv_copy(a) S_mortalized_pv_copy(aTHX_ a)
#define new_LC_ALL(a) S_new_LC_ALL(aTHX_ a)
#define save_to_buffer S_save_to_buffer