From: Jim Meyering Date: Mon, 22 Oct 2001 08:01:22 +0000 (+0000) Subject: (alloca): Define to __builtin_alloca if __GNUC__, X-Git-Tag: cvs-readonly~5612 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=fd1c784c3f338aef042eeb9568999a51f0498bb8;p=gnulib.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 1c75b390a..01e0ebdd7 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