summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/alloca.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-12-13 23:01:21 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-12-13 23:01:21 +0000
commitdd52bb72fbe4019678e046a6036900ec759645d8 (patch)
tree691a5b7b480df3a64cc019f3170111fe5303038a /newlib/libc/include/alloca.h
parent057914fee4f6e4781d2c7c3e2dfed3fbf8286635 (diff)
downloadcygnal-dd52bb72fbe4019678e046a6036900ec759645d8.tar.gz
cygnal-dd52bb72fbe4019678e046a6036900ec759645d8.tar.bz2
cygnal-dd52bb72fbe4019678e046a6036900ec759645d8.zip
2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
* newlib/include/alloca.h: add undef alloca to work with xlc
Diffstat (limited to 'newlib/libc/include/alloca.h')
-rw-r--r--newlib/libc/include/alloca.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/alloca.h b/newlib/libc/include/alloca.h
index 42439e370..2ea0fd9b3 100644
--- a/newlib/libc/include/alloca.h
+++ b/newlib/libc/include/alloca.h
@@ -10,6 +10,8 @@
#include "_ansi.h"
#include <sys/reent.h>
+#undef alloca
+
#ifdef __GNUC__
#define alloca(size) __builtin_alloca(size)
#else