3 /* This is a merge of code recommended in the autoconf-2.61 documentation
4 with that recommended in the autoconf-2.13 documentation, with added
5 tweaks to heed C_ALLOCA. */
7 #if defined HAVE_ALLOCA_H && !defined C_ALLOCA
10 # if defined __GNUC__ && !defined C_ALLOCA
12 # define alloca __builtin_alloca
16 /* Indented so that pre-ansi C compilers will ignore it, rather than
17 choke on it. Some versions of AIX require this to be the first
18 thing seen by the compiler except for comments and preprocessor
22 # if defined _MSC_VER && !defined C_ALLOCA
24 # define alloca _alloca
27 # if defined __STDC__ || defined __hpux
28 # if defined HAVE_STDDEF_H
30 # if defined __cplusplus
31 extern "C" void *alloca (size_t);
33 extern void *alloca (size_t);
36 extern void *alloca ();
39 extern char *alloca ();