From: Jim Meyering Date: Mon, 22 Oct 2001 08:01:22 +0000 (+0000) Subject: (alloca): Define to __builtin_alloca if __GNUC__, X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1c784c3f338aef042eeb9568999a51f0498bb8;p=pspp (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