From 05c446084e75514e5622d0a5235f0cf86b2480bc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 22 Oct 2001 08:01:43 +0000 Subject: (alloca): Define to __builtin_alloca if __GNUC__, to avoid a warning if -Wall. --- src/sys2.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sys2.h b/src/sys2.h index e6ccc82c4..c29a98139 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -141,7 +141,9 @@ # define RETSIGTYPE void #endif -#ifndef __GNUC__ +#if __GNUC__ +# define alloca __builtin_alloca +#else # if HAVE_ALLOCA_H # include # else -- cgit v1.2.3-54-g00ecf