summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-05-23 15:32:47 -0600
committerKarl Williamson <khw@cpan.org>2018-07-01 19:24:49 -0600
commitd36adde059ed1c4f7af210b4f9fc3a7bd2d7d343 (patch)
tree6ed2debf128df6f61e4dbe2c8d32688b78f6abd7 /embed.fnc
parentfdb72414df25d6fe008ccc6053e263c671fa93b0 (diff)
downloadperl-d36adde059ed1c4f7af210b4f9fc3a7bd2d7d343.tar.gz
Fix to compile under -DNO_LOCALE
Several problems with this compile option were not caught before 5.28 was frozen.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 0f06e38024..36f9f974f5 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2765,9 +2765,11 @@ s |bool |isa_lookup |NN HV *stash|NN const char * const name \
#endif
#if defined(PERL_IN_LOCALE_C)
+# ifdef USE_LOCALE
sn |const char*|category_name |const int category
s |const char*|switch_category_locale_to_template|const int switch_category|const int template_category|NULLOK const char * template_locale
s |void |restore_switched_locale|const int category|NULLOK const char * const original_locale
+# endif
# ifdef HAS_NL_LANGINFO
sn |const char*|my_nl_langinfo|const nl_item item|bool toggle
# else