diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-11 13:17:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-11 13:17:49 +0000 |
commit | 06e70ddab4319357dbbe78148d57124260c81de1 (patch) | |
tree | 8c666399ac1dd34e41404ee2973b7e868b76815e | |
parent | 70246cdb71a5d77101a5c98afc2a001760cdc52e (diff) | |
download | coreutils-06e70ddab4319357dbbe78148d57124260c81de1.tar.xz |
(alloca) [__GNUC__]: Define only if not already defined.
-rw-r--r-- | src/sys2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sys2.h b/src/sys2.h index c29a98139..513b837d8 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -142,7 +142,9 @@ #endif #if __GNUC__ -# define alloca __builtin_alloca +# ifndef alloca +# define alloca __builtin_alloca +# endif #else # if HAVE_ALLOCA_H # include <alloca.h> |