summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-21 07:50:27 +0000
committerJim Meyering <jim@meyering.net>2004-05-21 07:50:27 +0000
commit8492b24cfc9ed977bdbc4e3f5c9c5768511612c1 (patch)
treeef17d1a7af90dd5a94ebed82d8bc1c6129243ff1
parent80bb79d05b354258c33fe274aa6dce98f539486c (diff)
downloadcoreutils-8492b24cfc9ed977bdbc4e3f5c9c5768511612c1.tar.xz
update from gnulib
-rw-r--r--lib/fnmatch.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index d0cd8cdd7..b9b059834 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -24,29 +24,13 @@
# define _GNU_SOURCE 1
#endif
-#ifdef __GNUC__
-# define alloca __builtin_alloca
-# define HAVE_ALLOCA 1
-#else
-# if defined HAVE_ALLOCA_H || defined _LIBC
-# include <alloca.h>
-# else
-# ifdef _AIX
- # pragma alloca
-# else
-# ifndef alloca
-char *alloca ();
-# endif
-# endif
-# endif
-#endif
-
#if ! defined __builtin_expect && __GNUC__ < 3
# define __builtin_expect(expr, expected) (expr)
#endif
#include <fnmatch.h>
+#include <alloca.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>