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.1.0pre1~248 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12e59929e245bea0ff6c222eb006866affcaf649;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