summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locale.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/locale.c b/locale.c
index 07e5525c10..e7348e1c78 100644
--- a/locale.c
+++ b/locale.c
@@ -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)