]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Merge in change from gnulib.
authorJim Meyering <jim@meyering.net>
Wed, 18 Jun 2003 08:15:14 +0000 (08:15 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 18 Jun 2003 08:15:14 +0000 (08:15 +0000)
Remove block of alloca-related code in favor
of an unconditional `#include <alloca.h>'.

lib/makepath.c

index 823c1a81fe375039454518bc11b55a111a116b26..7455f9a760930e302c088b8e745242b2764ddb7a 100644 (file)
@@ -1,6 +1,7 @@
 /* makepath.c -- Ensure that a directory path exists.
-   Copyright (C) 1990, 1997, 1998, 1999, 2000, 2002, 2003 Free Software
-   Foundation, Inc.
+
+   Copyright (C) 1990, 1997, 1998, 1999, 2000, 2002, 2003 Free
+   Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 # include <config.h>
 #endif
 
-#if __GNUC__
-# define alloca __builtin_alloca
-#else
-# if HAVE_ALLOCA_H
-#  include <alloca.h>
-# else
-#  ifdef _AIX
- #  pragma alloca
-#  else
-char *alloca ();
-#  endif
-# endif
-#endif
+#include <alloca.h>
 
 #include <stdio.h>
 #include <sys/types.h>