summaryrefslogtreecommitdiff
path: root/source4/lib/charcnv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/charcnv.c')
-rw-r--r--source4/lib/charcnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/charcnv.c b/source4/lib/charcnv.c
index fc1f511403..7e9750e948 100644
--- a/source4/lib/charcnv.c
+++ b/source4/lib/charcnv.c
@@ -89,7 +89,7 @@ static smb_iconv_t get_conv_handle(charset_t from, charset_t to)
if (initialised == 0) {
initialised = 1;
-#ifdef HAVE_SETLOCALE
+#ifdef LC_ALL
/* we set back the locale to C to get ASCII-compatible
toupper/lower functions. For now we do not need
any other POSIX localisations anyway. When we