diff options
author | Karl Williamson <khw@cpan.org> | 2019-02-06 11:53:10 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-02-06 11:59:42 -0700 |
commit | 1c0e67b56793725082a7f82517b70b287254a52c (patch) | |
tree | 070649f81ca458e0518f1131f7e69f7127b53c09 /locale.c | |
parent | 0c0c3518376d64d0be0faeacd283971b391b560a (diff) | |
download | perl-1c0e67b56793725082a7f82517b70b287254a52c.tar.gz |
locale.c: Fix compilation error
This code would fail to require if Configure had ccflags=-DNO_LOCALE
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -4334,7 +4334,8 @@ S_print_collxfrm_input_and_return(pTHX_ # endif /* DEBUGGING */ #endif /* USE_LOCALE_COLLATE */ -#ifdef DEBUGGING +#ifdef USE_LOCALE +# ifdef DEBUGGING STATIC void S_print_bytes_for_locale(pTHX_ @@ -4371,9 +4372,7 @@ S_print_bytes_for_locale(pTHX_ } } -#endif /* #ifdef DEBUGGING */ - -#ifdef USE_LOCALE +# endif /* #ifdef DEBUGGING */ STATIC const char * S_switch_category_locale_to_template(pTHX_ const int switch_category, const int template_category, const char * template_locale) |