X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=intl%2Fplural-exp.c;h=751a688eb395c57482d7d61a63551c8d0f8bf87a;hb=84ddcd15cab7dc38bfad90348668c1bd5dc727f8;hp=8c04e642659dd726fd5bf0dcd65ee61eac2f11fa;hpb=4b8f9231090ada43f7e16987ec46ac7f45a914ec;p=pkg%2Fabook.git diff --git a/intl/plural-exp.c b/intl/plural-exp.c index 8c04e64..751a688 100644 --- a/intl/plural-exp.c +++ b/intl/plural-exp.c @@ -1,5 +1,5 @@ /* Expression parsing for plural form selection. - Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc. + Copyright (C) 2000-2001, 2003, 2005-2007 Free Software Foundation, Inc. Written by Ulrich Drepper , 2000. This program is free software; you can redistribute it and/or modify it @@ -14,7 +14,7 @@ You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H @@ -27,7 +27,7 @@ #include "plural-exp.h" -#if (defined __GNUC__ && !defined __APPLE_CC__) \ +#if (defined __GNUC__ && !(__APPLE_CC__ > 1) && !defined __cplusplus) \ || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) /* These structs are the constant expression for the germanic plural @@ -96,7 +96,8 @@ init_germanic_plural () void internal_function -EXTRACT_PLURAL_EXPRESSION (const char *nullentry, struct expression **pluralp, +EXTRACT_PLURAL_EXPRESSION (const char *nullentry, + const struct expression **pluralp, unsigned long int *npluralsp) { if (nullentry != NULL)