From dd52bb72fbe4019678e046a6036900ec759645d8 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 13 Dec 2006 23:01:21 +0000 Subject: [PATCH] 2006-12-13 Joel Schopp * newlib/include/alloca.h: add undef alloca to work with xlc --- newlib/ChangeLog | 4 ++++ newlib/libc/include/alloca.h | 2 ++ 2 files changed, 6 insertions(+) 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 + + * newlib/include/alloca.h: add undef alloca to work with xlc + 2006-12-12 Joel Schopp * 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 +#undef alloca + #ifdef __GNUC__ #define alloca(size) __builtin_alloca(size) #else