summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-10-15 12:54:47 -0600
committerKarl Williamson <khw@cpan.org>2022-10-18 06:49:50 -0600
commitfc9696a5e55c64ae01cfd7890d3b832cb309b822 (patch)
tree7685c6065adc6f7f31f638393ae68593235f2db6 /embed.fnc
parent2f77b97b5e40ea5a874b186190a13347805c13d8 (diff)
downloadperl-fc9696a5e55c64ae01cfd7890d3b832cb309b822.tar.gz
locale.c: Don't compile get_displayable_string if unused
This was generating warnings on several different platforms
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 5aa07e1415..ebb3176139 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3463,9 +3463,11 @@ SR |char * |my_setlocale_debug_string_i \
S |const char *|get_LC_ALL_display
# endif
# endif
+# if defined(DEBUGGING) || defined(USE_POSIX_2008_LOCALE)
S |const char *|get_displayable_string|NN const char * const s \
|NN const char * const e \
|const bool is_utf8
+# endif
#endif
#if defined(PERL_IN_UTIL_C)