comparison lib-src/etags.c @ 3208:daf2762a353c

* etags.c: Replace the CPP tangle for alloca with the one from the autoconf documentation, since that's working elsewhere.
author Jim Blandy <jimb@redhat.com>
date Fri, 28 May 1993 08:28:20 +0000
parents c45c28ce483c
children 8399d8e4ad22
comparison
equal deleted inserted replaced
3207:257a856de952 3208:daf2762a353c
33 33
34 #include "../src/config.h" 34 #include "../src/config.h"
35 35
36 #include "getopt.h" 36 #include "getopt.h"
37 37
38 #ifdef __GNUC__ 38 /* AIX requires this to be the first thing in the file. */
39 #define alloca __builtin_alloca 39 #ifdef __GNUC__
40 #else 40 #ifndef alloca
41 #ifdef sparc 41 #define alloca __builtin_alloca
42 #endif
43 #else /* not __GNUC__ */
44 #if HAVE_ALLOCA_H
42 #include <alloca.h> 45 #include <alloca.h>
43 #else 46 #else /* not HAVE_ALLOCA_H */
44 extern char *alloca (); 47 #ifdef _AIX
45 #endif 48 #pragma alloca
46 #endif 49 #else /* not _AIX */
50 char *alloca ();
51 #endif /* not _AIX */
52 #endif /* not HAVE_ALLOCA_H */
53 #endif /* not __GNUC__ */
47 54
48 extern char *malloc (), *realloc (); 55 extern char *malloc (), *realloc ();
49 extern char *getenv (); 56 extern char *getenv ();
50 extern char *strcpy (), *strncpy (); 57 extern char *strcpy (), *strncpy ();
51 extern int strcmp (); 58 extern int strcmp ();