summaryrefslogtreecommitdiffstats
path: root/intl/loadmsgcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'intl/loadmsgcat.c')
-rw-r--r--intl/loadmsgcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c
index d352980..d589243 100644
--- a/intl/loadmsgcat.c
+++ b/intl/loadmsgcat.c
@@ -288,7 +288,7 @@ _nl_init_domain_conv (domain_file, domain, domainbinding)
# else
# if HAVE_ICONV
/* When using GNU libiconv, we want to use transliteration. */
-# if _LIBICONV_VERSION
+# if _LIBICONV_VERSION >= 0x0105
len = strlen (outcharset);
{
char *tmp = (char *) alloca (len + 10 + 1);
@@ -298,7 +298,7 @@ _nl_init_domain_conv (domain_file, domain, domainbinding)
}
# endif
domain->conv = iconv_open (outcharset, charset);
-# if _LIBICONV_VERSION
+# if _LIBICONV_VERSION >= 0x0105
freea (outcharset);
# endif
# endif