summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/alloca.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index bd7895635..60720f617 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
+
+ * newlib/include/alloca.h: add undef alloca to work with xlc
+
2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
* libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
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