summaryrefslogtreecommitdiffstats
path: root/contrib/gdb/libiberty/alloca-norm.h
blob: 8d91b5ad4295693c19c3fc7a78e8c268184c044b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* "Normal" configuration for alloca.  */

#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not __GNUC__ */
#ifdef sparc
#include <alloca.h>
extern char *__builtin_alloca();  /* Stupid include file doesn't declare it */
#else
#ifdef __STDC__
PTR alloca (size_t);
#else
PTR alloca ();			/* must agree with functions.def */
#endif
#endif /* sparc */
#endif /* not __GNUC__ */
OpenPOWER on IntegriCloud