Commit 5c851ea7 authored by Jim Blandy's avatar Jim Blandy
Browse files

* etags.c: Replace the CPP tangle for alloca with the one from the

	autoconf documentation, since that's working elsewhere.
parent 3233bbe1
......@@ -35,15 +35,22 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "getopt.h"
#ifdef __GNUC__
#define alloca __builtin_alloca
#else
#ifdef sparc
#include <alloca.h>
#else
extern char *alloca ();
#endif
/* AIX requires this to be the first thing in the file. */
#ifdef __GNUC__
#ifndef alloca
#define alloca __builtin_alloca
#endif
#else /* not __GNUC__ */
#if HAVE_ALLOCA_H
#include <alloca.h>
#else /* not HAVE_ALLOCA_H */
#ifdef _AIX
#pragma alloca
#else /* not _AIX */
char *alloca ();
#endif /* not _AIX */
#endif /* not HAVE_ALLOCA_H */
#endif /* not __GNUC__ */
extern char *malloc (), *realloc ();
extern char *getenv ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment