mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
7929041ebe
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
17 lines
382 B
C
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__ */
|