diff options
author | Bruno Haible <bruno@clisp.org> | 2001-04-19 12:35:19 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-04-19 12:35:19 +0000 |
commit | 7e58e3310c464949e2d3ae667fd2285a3ded2a2f (patch) | |
tree | e200d4808cbe45c0ec846a23ce27b8d3d404be9a /intl/loadmsgcat.c | |
parent | 683f768b49e98f38004b89a360f68a5f9a6f32f3 (diff) | |
download | external_gettext-7e58e3310c464949e2d3ae667fd2285a3ded2a2f.zip external_gettext-7e58e3310c464949e2d3ae667fd2285a3ded2a2f.tar.gz external_gettext-7e58e3310c464949e2d3ae667fd2285a3ded2a2f.tar.bz2 |
Tweak for older libiconv versions.
Diffstat (limited to 'intl/loadmsgcat.c')
-rw-r--r-- | intl/loadmsgcat.c | 4 |
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 |