From: Wayne Davison Date: Thu, 31 Dec 2009 03:58:57 +0000 (-0800) Subject: Allow any gcc to make use of __builtin_alloca for alloca. X-Git-Tag: v3.0.7~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fc8c51705924d191e404692b5082c6a0dada200;p=thirdparty%2Frsync.git Allow any gcc to make use of __builtin_alloca for alloca. --- diff --git a/popt/system.h b/popt/system.h index f835a58e..50cecaf5 100644 --- a/popt/system.h +++ b/popt/system.h @@ -85,7 +85,7 @@ char *alloca(size_t size); # endif # endif # endif -#elif defined(__GNUC__) && defined(__STRICT_ANSI__) +#elif !defined(alloca) #define alloca __builtin_alloca #endif