From: Daiki Ueno Date: Tue, 23 Jun 2015 09:47:20 +0000 (+0900) Subject: build: Fix error when expat is not available X-Git-Tag: v0.19.5~23 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=3dfb94a2b8105c766cb58a340a62928bd0877808;p=thirdparty%2Fgettext.git build: Fix error when expat is not available * cldr-plurals.c (main): Fix unmatched braces when !(DYNLOAD_LIBEXPAT || HAVE_LIBEXPAT). --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 70215e1ce..9974a1c5c 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,8 @@ +2015-06-23 Daiki Ueno + + * cldr-plurals.c (main): Fix unmatched braces when + !(DYNLOAD_LIBEXPAT || HAVE_LIBEXPAT). + 2015-06-23 Daiki Ueno * cldr-plurals.c: Include "basename.h". diff --git a/gettext-tools/src/cldr-plurals.c b/gettext-tools/src/cldr-plurals.c index 3bd3d542f..38011fc17 100644 --- a/gettext-tools/src/cldr-plurals.c +++ b/gettext-tools/src/cldr-plurals.c @@ -453,10 +453,9 @@ There is NO WARRANTY, to the extent permitted by law.\n\ free (extracted_rules); } else +#endif { -#else error (1, 0, _("extraction is not supported")); -#endif } } else if (argc == optind)