From c1e48065024e48de222354ff706a9bacec23d8a0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 4 Feb 1997 03:52:16 +0000 Subject: [__GNUC__]: Don't define alloca to __builtin_alloca. --- src/system.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/system.h') 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 # 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 -- cgit v1.2.3-54-g00ecf