]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
update from gnulib
authorJim Meyering <jim@meyering.net>
Fri, 21 May 2004 07:50:27 +0000 (07:50 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 21 May 2004 07:50:27 +0000 (07:50 +0000)
lib/fnmatch.c

index d0cd8cdd790945b301c1ea40cd89bbf9f21039c7..b9b0598340e08fc8af659c7f0039826a3779bf81 100644 (file)
 # 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>