FreeTDS API

alloca.h
1 /* Cfr https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Particular-Functions.html */
2 #ifdef STDC_HEADERS
3 # include <stdlib.h>
4 # include <stddef.h>
5 #else
6 # ifdef HAVE_STDLIB_H
7 # include <stdlib.h>
8 # endif
9 #endif
10 #ifdef HAVE_ALLOCA_H
11 # include <alloca.h>
12 #elif !defined alloca
13 # ifdef __GNUC__
14 # define alloca __builtin_alloca
15 # elif defined _AIX
16 # define alloca __alloca
17 # elif defined _MSC_VER
18 # include <malloc.h>
19 # define alloca _alloca
20 # elif !defined HAVE_ALLOCA
21 # ifdef __cplusplus
22 extern "C"
23 # endif
24 void *alloca (size_t);
25 # endif
26 #endif