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-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/12e59929e245bea0ff6c222eb006866affcaf649 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