diff options
author | Jim Meyering <jim@meyering.net> | 1997-02-03 05:08:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-02-03 05:08:19 +0000 |
commit | e8bcfd934a4a0f61b85174c8690241f7d0c91e47 (patch) | |
tree | 08c5213ca89e82c6a415600f1c599b1606eae4d7 | |
parent | 1b5a74d1a7635a97dbf579c4ff8a507778c9e15c (diff) | |
download | coreutils-e8bcfd934a4a0f61b85174c8690241f7d0c91e47.tar.xz |
Move alloca-related preprocessor code into system.h.
-rw-r--r-- | src/join.c | 14 | ||||
-rw-r--r-- | src/od.c | 20 |
2 files changed, 0 insertions, 34 deletions
diff --git a/src/join.c b/src/join.c index 09aaf2bed..ec7af19ee 100644 --- a/src/join.c +++ b/src/join.c @@ -19,20 +19,6 @@ #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 @@ -17,28 +17,8 @@ /* Written by Jim Meyering. */ -/* AIX requires this to be the first thing in the file. */ #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 */ -#ifdef _WIN32 -#include <malloc.h> -#include <io.h> -#else -char *alloca (); -#endif /* not _WIN32 */ -#endif /* not _AIX */ -#endif /* not HAVE_ALLOCA_H */ -#endif /* not __GNUC__ */ - #include <stdio.h> #include <assert.h> #include <getopt.h> |