diff options
author | Jim Meyering <jim@meyering.net> | 1997-02-04 03:52:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-02-04 03:52:16 +0000 |
commit | c1e48065024e48de222354ff706a9bacec23d8a0 (patch) | |
tree | 7cde36d7bbddcefb2bb223601996dbe58f1139ed /src/system.h | |
parent | 84ed9c3db99a75fa5c7542e99b6ecbaca083fa47 (diff) | |
download | coreutils-c1e48065024e48de222354ff706a9bacec23d8a0.tar.xz |
[__GNUC__]: Don't define alloca to __builtin_alloca.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/system.h b/src/system.h index 552d4c18e..468e0e744 100644 --- a/src/system.h +++ b/src/system.h @@ -285,15 +285,16 @@ char *getenv (); #define RETSIGTYPE void #endif -#ifdef __GNUC__ -# undef alloca -#else +#ifndef __GNUC__ # ifdef HAVE_ALLOCA_H # include <alloca.h> # else -# ifndef _AIX -/* AIX alloca decl has to be the first thing in the file, bletch! */ +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca char *alloca (); +# endif # endif # endif #endif |