diff options
Diffstat (limited to 'gnu/usr.bin/gdb/libiberty/alloca-conf.h')
-rw-r--r-- | gnu/usr.bin/gdb/libiberty/alloca-conf.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/libiberty/alloca-conf.h b/gnu/usr.bin/gdb/libiberty/alloca-conf.h new file mode 100644 index 0000000..e1d9177 --- /dev/null +++ b/gnu/usr.bin/gdb/libiberty/alloca-conf.h @@ -0,0 +1,11 @@ +/* "Normal" configuration for alloca. */ + +#ifdef __GNUC__ +#define alloca __builtin_alloca +#else /* not __GNUC__ */ +#ifdef sparc +#include <alloca.h> +#else +char *alloca (); +#endif /* sparc */ +#endif /* not __GNUC__ */ |