Initial revision
[binutils.git] / libiberty / alloca-conf.h
blob9c3eea396c19359acacad49f735999982ec56410
1 #include "config.h"
3 #if defined(__GNUC__) && !defined(C_ALLOCA)
4 # ifndef alloca
5 # define alloca __builtin_alloca
6 # endif
7 #else /* ! defined (__GNUC__) */
8 # ifdef _AIX
9 #pragma alloca
10 # else
11 # if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA)
12 # include <alloca.h>
13 # else /* ! defined (HAVE_ALLOCA_H) */
14 # ifdef __STDC__
15 extern PTR alloca (size_t);
16 # else /* ! defined (__STDC__) */
17 extern PTR alloca ();
18 # endif /* ! defined (__STDC__) */
19 # endif /* ! defined (HAVE_ALLOCA_H) */
20 # ifdef _WIN32
21 # include <malloc.h>
22 # endif
23 # endif /* ! defined (_AIX) */
24 #endif /* ! defined (__GNUC__) */