# HG changeset patch # User Jim Meyering # Date 1003737682 0 # Node ID 74b404d4514707b84d91b46273acac4dc298dd40 # Parent 32ef5c533da89deb381ed12ad8a01f83848bf8ab (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 --- 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