summaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-04 06:48:18 +0000
committerRoland McGrath <roland@gnu.org>1996-06-04 06:48:18 +0000
commitfa00327fbf80bd0928c0c4babc6680ff1c9f3584 (patch)
tree1d8ce640f7a153abbe2b19e7634a3b7a3e64aca9 /intl
parentbf18dbd7faa07a9dd800a8e842dd8eedc71ed5d9 (diff)
* sysdeps/libm-i387/s_finite.S: Use %eax instead of %al in setnel insn.
* intl/l10nflist.c: Fix conditional on #include <argz.h>. * libio/stdio.h (FOPEN_MAX, FILENAME_MAX, TMP_MAX, L_tmpnam): Macros removed. Instead, include <stdio_lim.h>. * libio/_G_config.h: New file. * libio/Makefile (headers): Add _G_config.h. * MakeTAGS (po/errlist.pot): Extract from sysdeps/gnu/errlist.c.
Diffstat (limited to 'intl')
-rw-r--r--intl/dcgettext.c5
-rw-r--r--intl/l10nflist.c2
-rw-r--r--intl/localealias.c5
3 files changed, 3 insertions, 9 deletions
diff --git a/intl/dcgettext.c b/intl/dcgettext.c
index 743c85bf22..ba3796d5e0 100644
--- a/intl/dcgettext.c
+++ b/intl/dcgettext.c
@@ -27,6 +27,7 @@ Cambridge, MA 02139, USA. */
#ifdef __GNUC__
# define alloca __builtin_alloca
+# define HAVE_ALLOCA 1
#else
# if defined HAVE_ALLOCA_H || defined _LIBC
# include <alloca.h>
@@ -162,10 +163,6 @@ static const char *guess_category_value PARAMS ((int category,
const char *categoryname));
-#ifdef _LIBC
-#define HAVE_ALLOCA 1
-#endif
-
/* For those loosing systems which don't have `alloca' we have to add
some additional code emulating it. */
#ifdef HAVE_ALLOCA
diff --git a/intl/l10nflist.c b/intl/l10nflist.c
index 00e3c8950a..798728c3b1 100644
--- a/intl/l10nflist.c
+++ b/intl/l10nflist.c
@@ -19,7 +19,7 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#if defined _LIBC && (defined __ARGZ_COUNT || defined __ARGZ_STRINGIFY)
+#if defined _LIBC || (defined __ARGZ_COUNT && defined __ARGZ_STRINGIFY)
# include <argz.h>
#endif
#include <ctype.h>
diff --git a/intl/localealias.c b/intl/localealias.c
index 8ecbfcb7a4..b30a9e5bf5 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -29,6 +29,7 @@ Cambridge, MA 02139, USA. */
#ifdef __GNUC__
# define alloca __builtin_alloca
+# define HAVE_ALLOCA 1
#else
# if defined HAVE_ALLOCA_H || defined _LIBC
# include <alloca.h>
@@ -78,10 +79,6 @@ void free ();
#endif
-#ifdef _LIBC
-#define HAVE_ALLOCA 1
-#endif
-
/* For those loosing systems which don't have `alloca' we have to add
some additional code emulating it. */
#ifdef HAVE_ALLOCA