From 12e59929e245bea0ff6c222eb006866affcaf649 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 30 Dec 2009 19:58:57 -0800 Subject: [PATCH] Allow any gcc to make use of __builtin_alloca for alloca. --- popt/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1