diff options
Diffstat (limited to 'intl/plural-exp.c')
-rw-r--r-- | intl/plural-exp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/intl/plural-exp.c b/intl/plural-exp.c index f518bf1dc..751a688eb 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, 2005 Free Software Foundation, Inc. + Copyright (C) 2000-2001, 2003, 2005-2007 Free Software Foundation, Inc. Written by Ulrich Drepper <[email protected]>, 2000. This program is free software; you can redistribute it and/or modify it @@ -27,7 +27,7 @@ #include "plural-exp.h" -#if (defined __GNUC__ && !(__APPLE_CC__ > 1)) \ +#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) |