diff options
author | Bruno Haible <bruno@clisp.org> | 2005-08-10 10:57:11 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:46 +0200 |
commit | a877c99069f5a70a9ab76bf9e2ae467be9b81643 (patch) | |
tree | e1546ea729098d0780ab6b57d7e7bb3a62447000 /gettext-runtime/intl/loadmsgcat.c | |
parent | 4d1b88bf357d9f1d1b8254372f0b29fcd3d99e25 (diff) | |
download | external_gettext-a877c99069f5a70a9ab76bf9e2ae467be9b81643.zip external_gettext-a877c99069f5a70a9ab76bf9e2ae467be9b81643.tar.gz external_gettext-a877c99069f5a70a9ab76bf9e2ae467be9b81643.tar.bz2 |
Add conditional code for using libintl in libglocale.
Diffstat (limited to 'gettext-runtime/intl/loadmsgcat.c')
-rw-r--r-- | gettext-runtime/intl/loadmsgcat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gettext-runtime/intl/loadmsgcat.c b/gettext-runtime/intl/loadmsgcat.c index 9f540e7..2520c8c 100644 --- a/gettext-runtime/intl/loadmsgcat.c +++ b/gettext-runtime/intl/loadmsgcat.c @@ -1276,7 +1276,12 @@ _nl_load_domain (struct loaded_l10nfile *domain_file, domain->nconversions = 0; /* Get the header entry and look for a plural specification. */ +#ifdef IN_LIBGLOCALE + nullentry = + _nl_find_msg (domain_file, domainbinding, NULL, "", &nullentrylen); +#else nullentry = _nl_find_msg (domain_file, domainbinding, "", 0, &nullentrylen); +#endif EXTRACT_PLURAL_EXPRESSION (nullentry, &domain->plural, &domain->nplurals); out: |