diff options
author | Karl Williamson <khw@cpan.org> | 2022-10-01 13:43:54 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-10-18 06:22:16 -0600 |
commit | 49825ce8d49ec49e0c08ecb341ea5a7b7383225b (patch) | |
tree | 1b6dd4d9933cd9855ec95f4055f386cf7ffb6fda /embed.fnc | |
parent | 6a4065f28f30d59e3a6cea6504be34bdb5e5eb8b (diff) | |
download | perl-49825ce8d49ec49e0c08ecb341ea5a7b7383225b.tar.gz |
locale.c: Compile display fcn under more circumstances
This is in preparation for it to be used in more instances in future
commits. It uses a symbol that won't be defined until those commits.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3450,13 +3450,15 @@ S |const char*|my_langinfo_i|const int item \ |NULLOK utf8ness_t * utf8ness # endif # ifdef DEBUGGING -S |const char *|get_LC_ALL_display SR |char * |my_setlocale_debug_string_i \ |const unsigned cat_index \ |NULLOK const char* locale \ |NULLOK const char* retval \ |const line_t line # endif +# if defined(DEBUGGING) || defined(USE_PERL_SWITCH_LOCALE_CONTEXT) +S |const char *|get_LC_ALL_display +# endif # endif S |const char *|get_displayable_string|NN const char * const s \ |NN const char * const e \ |