diff options
author | marcel <marcel@FreeBSD.org> | 2004-06-20 18:26:14 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-06-20 18:26:14 +0000 |
commit | ddb504ee412e85d02695ae9f3deef7f220b77beb (patch) | |
tree | a49f8af771ff0bf61cc4f75dc6b9537c0bd683e7 /contrib/gdb/include/alloca-conf.h | |
parent | c6cc8e4a1eb2de942258fa7cd28b9c4f9e5c6277 (diff) | |
download | FreeBSD-src-ddb504ee412e85d02695ae9f3deef7f220b77beb.zip FreeBSD-src-ddb504ee412e85d02695ae9f3deef7f220b77beb.tar.gz |
Import of GDB version 6.1.1 (stripped; see FREEBSD-Xlist rev. 1.6).
Diffstat (limited to 'contrib/gdb/include/alloca-conf.h')
-rw-r--r-- | contrib/gdb/include/alloca-conf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/gdb/include/alloca-conf.h b/contrib/gdb/include/alloca-conf.h new file mode 100644 index 0000000..9c3eea3 --- /dev/null +++ b/contrib/gdb/include/alloca-conf.h @@ -0,0 +1,24 @@ +#include "config.h" + +#if defined(__GNUC__) && !defined(C_ALLOCA) +# ifndef alloca +# define alloca __builtin_alloca +# endif +#else /* ! defined (__GNUC__) */ +# ifdef _AIX + #pragma alloca +# else +# if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA) +# include <alloca.h> +# else /* ! defined (HAVE_ALLOCA_H) */ +# ifdef __STDC__ +extern PTR alloca (size_t); +# else /* ! defined (__STDC__) */ +extern PTR alloca (); +# endif /* ! defined (__STDC__) */ +# endif /* ! defined (HAVE_ALLOCA_H) */ +# ifdef _WIN32 +# include <malloc.h> +# endif +# endif /* ! defined (_AIX) */ +#endif /* ! defined (__GNUC__) */ |