]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(alloca) [__GNUC__]: Define only if not already defined.
authorJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 13:17:49 +0000 (13:17 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 13:17:49 +0000 (13:17 +0000)
src/sys2.h

index c29a98139d055a9df74b50d8299c9be9389c8634..513b837d8b1acdd7830950a728cabd063d953fa0 100644 (file)
 #endif
 
 #if __GNUC__
-# define alloca __builtin_alloca
+# ifndef alloca
+#  define alloca __builtin_alloca
+# endif
 #else
 # if HAVE_ALLOCA_H
 #  include <alloca.h>