From: Jim Meyering Date: Mon, 22 Oct 2001 08:01:43 +0000 (+0000) Subject: (alloca): Define to __builtin_alloca if __GNUC__, X-Git-Tag: FILEUTILS-4_1_1~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05c446084e75514e5622d0a5235f0cf86b2480bc;p=thirdparty%2Fcoreutils.git (alloca): Define to __builtin_alloca if __GNUC__, to avoid a warning if -Wall. --- diff --git a/src/sys2.h b/src/sys2.h index e6ccc82c4b..c29a98139d 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