From: Jim Meyering Date: Mon, 22 Oct 2001 08:01:22 +0000 (+0000) Subject: (alloca): Define to __builtin_alloca if __GNUC__, X-Git-Tag: FILEUTILS-4_1_1~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e28263f67308abd9adb00a98a007bc56aed0d93c;p=thirdparty%2Fcoreutils.git (alloca): Define to __builtin_alloca if __GNUC__, to avoid a warning if -Wall. --- diff --git a/lib/hard-locale.c b/lib/hard-locale.c index 1c75b390a6..01e0ebdd70 100644 --- a/lib/hard-locale.c +++ b/lib/hard-locale.c @@ -19,7 +19,9 @@ # include #endif -#ifndef __GNUC__ +#if __GNUC__ +# define alloca __builtin_alloca +#else # ifdef HAVE_ALLOCA_H # include # else