summaryrefslogtreecommitdiff
path: root/gcc/tsystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tsystem.h')
-rw-r--r--gcc/tsystem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tsystem.h b/gcc/tsystem.h
index 7928b31b68a..7ccdf4c0f59 100644
--- a/gcc/tsystem.h
+++ b/gcc/tsystem.h
@@ -117,4 +117,8 @@ extern int errno;
#define NULL 0
#endif
+/* GCC always provides __builtin_alloca(x). */
+#undef alloca
+#define alloca(x) __builtin_alloca(x)
+
#endif /* ! GCC_TSYSTEM_H */