summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/locale.c b/locale.c
index 7f336a6e91..94609a485f 100644
--- a/locale.c
+++ b/locale.c
@@ -36,6 +36,7 @@
#include "reentr.h"
+#if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE)
/*
* Standardize the locale name from a string returned by 'setlocale'.
*
@@ -79,6 +80,7 @@ S_stdize_locale(pTHX_ char *locs)
return locs;
}
+#endif
void
Perl_set_numeric_radix(pTHX)
@@ -173,7 +175,7 @@ void
Perl_new_ctype(pTHX_ char *newctype)
{
#ifdef USE_LOCALE_CTYPE
-
+ dVAR;
int i;
for (i = 0; i < 256; i++) {