+2001-03-21 Bruno Haible <haible@clisp.cons.org>
+
+ * dcigettext.c (_nl_state_lock): Mark as #ifdef _LIBC. AIX 3 xlc
+ chokes on empty macro arguments.
+ * plural.y: Add #pragma for alloca on AIX 3.
+
2001-03-20 Bruno Haible <haible@clisp.cons.org>
* Makefile.in (DISTFILES.generated): New variable.
#endif
/* Lock variable to protect the global data in the gettext implementation. */
+#ifdef _LIBC
__libc_rwlock_define_initialized (, _nl_state_lock)
+#endif
/* Checking whether the binaries runs SUID must be done and glibc provides
easier methods therefore we make a difference here. */
# include <config.h>
#endif
+/* The bison generated parser uses alloca. AIX 3 forces us to put this
+ declaration at the beginning of the file. The declaration in bison's
+ skeleton file comes too late. */
+#ifdef _AIX
+ #pragma alloca
+#endif
+
#include <stdlib.h>
#include "gettextP.h"