From: Jim Meyering Date: Sun, 11 Nov 2001 13:17:49 +0000 (+0000) Subject: (alloca) [__GNUC__]: Define only if not already defined. X-Git-Tag: TEXTUTILS-2_0_17~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06e70ddab4319357dbbe78148d57124260c81de1;p=thirdparty%2Fcoreutils.git (alloca) [__GNUC__]: Define only if not already defined. --- diff --git a/src/sys2.h b/src/sys2.h index c29a98139d..513b837d8b 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -142,7 +142,9 @@ #endif #if __GNUC__ -# define alloca __builtin_alloca +# ifndef alloca +# define alloca __builtin_alloca +# endif #else # if HAVE_ALLOCA_H # include