+2002-04-15 Bruno Haible <bruno@clisp.org>
+
+ * po-lex.h (po_gram_error): Treat Apple's version of GCC like non-GCC.
+ * po-lex.c (po_gram_error): Likewise.
+ Reported by Richard S. Blake <blakers@presence-group.com>.
+
2002-04-04 Bruno Haible <bruno@clisp.org>
* po-lex.h (po_gram_error): Use __VA_ARGS__ + 0 instead of __VA_ARGS__.
#if !(__STDC__ && \
((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) \
- || (defined __GNUC__ && __GNUC__ >= 2)))
+ || (defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__)))
/* CAUTION: If you change this function, you must also make identical
changes to the macro of the same name in src/po-lex.h */
/* GNU gettext - internationalization aids
- Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>
} while (0)
/* GCC is also smart enough to allow optimizations like this. */
-#elif __STDC__ && defined __GNUC__ && __GNUC__ >= 2
+#elif __STDC__ && defined __GNUC__ && __GNUC__ >= 2 && !defined __APPLE_CC__
/* CAUTION: If you change this macro, you must also make identical
changes to the function of the same name in src/po-lex.c */