aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/config/zconf.tab.c_shipped2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config/zconf.tab.c_shipped b/scripts/config/zconf.tab.c_shipped
index a5f69a026..bc2225fb4 100644
--- a/scripts/config/zconf.tab.c_shipped
+++ b/scripts/config/zconf.tab.c_shipped
@@ -227,7 +227,7 @@ typedef union YYSTYPE {
# define YYSTACK_ALLOC alloca
# else
# ifndef YYSTACK_USE_ALLOCA
-# if defined (alloca) || defined (_ALLOCA_H)
+# if defined (alloca) || (defined (_ALLOCA_H) && defined (__GNUC__))
# define YYSTACK_ALLOC alloca
# else
# ifdef __GNUC__