diff options
| author | Jim Meyering <jim@meyering.net> | 1995-06-15 14:55:26 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 1995-06-15 14:55:26 +0000 |
| commit | 88b952224223ad92438b129455ee534df5f4c733 (patch) | |
| tree | b4068d475e5af2f2f9abeb5dfa8414aabbfbcb8e /lib/regex.c | |
| parent | Use void* alloca, not char*. The latter lost on convexOS. (diff) | |
| download | coreutils-88b952224223ad92438b129455ee534df5f4c733.tar.gz coreutils-88b952224223ad92438b129455ee534df5f4c733.zip | |
Alloca fix for ConvexOS-11.0.
Diffstat (limited to 'lib/regex.c')
| -rw-r--r-- | lib/regex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/regex.c b/lib/regex.c index e1d5066db..a4959ef53 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -227,7 +227,11 @@ init_syntax_once () #include <alloca.h> #else /* not __GNUC__ or HAVE_ALLOCA_H */ #ifndef _AIX /* Already did AIX, up at the top. */ +#if defined (__STDC__) && __STDC__ void *alloca (); +#else +char *alloca (); +#endif #endif /* not _AIX */ #endif /* not HAVE_ALLOCA_H */ #endif /* not __GNUC__ */ |
