diff options
author | Karl Williamson <khw@cpan.org> | 2018-11-29 11:50:58 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-11-29 12:02:37 -0700 |
commit | 4d9252fd87d589cee8bbae74d7bf79cbd4d9fa1b (patch) | |
tree | bf8a6523e3d78649518f4a427f2f6b02528e0eea /locale.c | |
parent | f32e286a94381a66b7325ec68e1c6f1eb3872277 (diff) | |
download | perl-4d9252fd87d589cee8bbae74d7bf79cbd4d9fa1b.tar.gz |
locale.c: Fix wrong scope of #if's
The function print_bytes_for_locale() should be defined if DEBUGGING;
prior to this commit it didn't get defined unless LC_COLLATE was
defined on the platform.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -4303,6 +4303,10 @@ S_print_collxfrm_input_and_return(pTHX_ PerlIO_printf(Perl_debug_log, "'\n"); } +# endif /* DEBUGGING */ +#endif /* USE_LOCALE_COLLATE */ +#ifdef DEBUGGING + STATIC void S_print_bytes_for_locale(pTHX_ const char * const s, @@ -4338,8 +4342,7 @@ S_print_bytes_for_locale(pTHX_ } } -# endif /* #ifdef DEBUGGING */ -#endif /* USE_LOCALE_COLLATE */ +#endif /* #ifdef DEBUGGING */ #ifdef USE_LOCALE |