From b1d0cb241323066c0a5cc3ad2d9da1a433263d74 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 18 Oct 2006 12:03:51 +0000 Subject: No need any more to check for setlocale - all systems have it. --- lib/localcharset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/localcharset.c') diff --git a/lib/localcharset.c b/lib/localcharset.c index a2fc5dc553..a0f7cca691 100644 --- a/lib/localcharset.c +++ b/lib/localcharset.c @@ -41,7 +41,7 @@ # if HAVE_LANGINFO_CODESET # include # else -# if HAVE_SETLOCALE +# if 0 /* see comment below */ # include # endif # endif @@ -351,7 +351,7 @@ locale_charset (void) (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't use setlocale here; it would return "C" when it doesn't support the locale name the user has set. */ -# if HAVE_SETLOCALE && 0 +# if 0 locale = setlocale (LC_CTYPE, NULL); # endif if (locale == NULL || locale[0] == '\0') -- cgit v1.2.1