]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/gdb/libiberty/alloca-norm.h
This file was not part of the GDB 5.2.1 import and should have been
[FreeBSD/FreeBSD.git] / contrib / gdb / libiberty / alloca-norm.h
1 /* "Normal" configuration for alloca.  */
2
3 #ifdef __GNUC__
4 #define alloca __builtin_alloca
5 #else /* not __GNUC__ */
6 #ifdef sparc
7 #include <alloca.h>
8 extern char *__builtin_alloca();  /* Stupid include file doesn't declare it */
9 #else
10 #ifdef __STDC__
11 PTR alloca (size_t);
12 #else
13 PTR alloca ();                  /* must agree with functions.def */
14 #endif
15 #endif /* sparc */
16 #endif /* not __GNUC__ */