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 in the file except for comments and preprocessor directives. */
21 # if defined _MSC_VER && !defined C_ALLOCA
23 # define alloca _alloca
26 # if defined __STDC__ || defined __hpux
27 # if defined HAVE_STDDEF_H
29 # if defined __cplusplus
30 extern "C" void *alloca (size_t);
32 extern void *alloca (size_t);
35 extern void *alloca ();
38 extern char *alloca ();