projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
alloca-norm.h (alloca, GCC case): Don't redefine alloca if it was alr eady defined...
[gcc.git]
/
libiberty
/
alloca-norm.h
diff --git
a/libiberty/alloca-norm.h
b/libiberty/alloca-norm.h
index 394a65332777922278ffbb235e7df2ed77d8aad5..bda4fc049adfe421dc66f21cc546ae696fbcae48 100644
(file)
--- a/
libiberty/alloca-norm.h
+++ b/
libiberty/alloca-norm.h
@@
-1,7
+1,9
@@
/* "Normal" configuration for alloca. */
#ifdef __GNUC__
+#ifndef alloca
#define alloca __builtin_alloca
+#endif
#else /* ! defined (__GNUC__) */
#if defined (sparc) && defined (sun)
#include <alloca.h>