FreeTDS API: include/freetds/alloca.h Source File

FreeTDS API

Loading...
Searching...
No Matches
alloca.h
1/* Cfr https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Particular-Functions.html */
2#ifndef __VMS
3#include <stdlib.h>
4#include <stddef.h>
5#ifdef HAVE_ALLOCA_H
6# include <alloca.h>
7#elif !defined alloca
8# ifdef __GNUC__
9# define alloca __builtin_alloca
10# elif defined _MSC_VER
11# include <malloc.h>
12# define alloca _alloca
13# elif !defined HAVE_ALLOCA
14# ifdef __cplusplus
15extern "C"
16# endif
17void *alloca (size_t);
18# endif
19#endif
20#else /* __VMS */
21#ifndef alloca
22/* alloca is a built-in */
23#include <builtins.h>
24#define alloca(__x) __ALLOCA(__x)
25#endif
26#endif