From fd1c784c3f338aef042eeb9568999a51f0498bb8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 22 Oct 2001 08:01:22 +0000 Subject: [PATCH] (alloca): Define to __builtin_alloca if __GNUC__, to avoid a warning if -Wall. --- lib/hard-locale.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.11.0