OSDN Git Service

(ASM_SPEC): Delete asm_arch.
[pf3gnuchains/gcc-fork.git] / libiberty / alloca-norm.h
1 /* "Normal" configuration for alloca.  */
2
3 #ifdef __GNUC__
4 #define alloca __builtin_alloca
5 #else /* ! defined (__GNUC__) */
6 #if defined (sparc) && defined (sun)
7 #include <alloca.h>
8 #ifdef __STDC__
9 extern void *__builtin_alloca();
10 #else /* ! defined (__STDC__) */
11 extern char *__builtin_alloca();  /* Stupid include file doesn't declare it */
12 #endif /* ! defined (__STDC__) */
13 #else /* ! defined (sparc) || ! defined (sun) */
14 #ifdef __STDC__
15 PTR alloca (size_t);
16 #else /* ! defined (__STDC__) */
17 PTR alloca ();                  /* must agree with functions.def */
18 #endif /* ! defined (__STDC__) */
19 #endif /* ! defined (sparc) || ! defined (sun) */
20 #ifdef _WIN32
21 #include <malloc.h>
22 #endif
23 #endif /* ! defined (__GNUC__) */