projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c90bb
)
Add alloca junk.
author
Jim Meyering
<jim@meyering.net>
Sun, 8 Oct 1995 03:38:09 +0000
(
03:38
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 8 Oct 1995 03:38:09 +0000
(
03:38
+0000)
src/join.c
patch
|
blob
|
history
diff --git
a/src/join.c
b/src/join.c
index 56819f6c8649d0dc009d7ded93eaff45b8934a15..d26b25635a38901f46a2945a701c23fecf4a2268 100644
(file)
--- a/
src/join.c
+++ b/
src/join.c
@@
-19,6
+19,20
@@
#include <config.h>
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#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__ */
+
/* Get isblank from GNU libc. */
#define _GNU_SOURCE