freebsd-dev/contrib/gdb/libiberty/alloca-norm.h
Paul Traina 7929041ebe Import GDB in its full glory (all 25mb). We'll put it on a diet once it's
fully registered.

(This is the second try, the first import ignored .info files but not .info-*
 files, for some reason.  I'm going to make this consistent.)

Reviewed by:	core
Approved for:	2.2
1996-11-03 17:03:03 +00:00

17 lines
382 B
C

/* "Normal" configuration for alloca. */
#ifdef __GNUC__
#define alloca __builtin_alloca
#else /* not __GNUC__ */
#ifdef sparc
#include <alloca.h>
extern char *__builtin_alloca(); /* Stupid include file doesn't declare it */
#else
#ifdef __STDC__
PTR alloca (size_t);
#else
PTR alloca (); /* must agree with functions.def */
#endif
#endif /* sparc */
#endif /* not __GNUC__ */